Re: strange behaviour of SSH - AIX 6.1



On May 7, 9:54 pm, TomTom <universalglim...@xxxxxxxxx> wrote:
Hello group,

I am working on an AIX6.1 LPAR with enhanced RBAC and Trusted Aix
enabled (so, for security purposes I have installed SSH).

I am facing a very strange behaviour of the SSH daemon. When I try to
connect to the LPAR (as user, root cannot login) and I insert my
passwd the connection is immediately closed by the system.

I can login correctly ONLY if I insert a wrong passwd the first time a
I insert the correct passwd the second time.

Has anyone ever faced something similar? I'm a little puzzled....

This is what is installed:

$ lslpp -L |grep ssl
openssl.base 0.9.8.410 C F Open Secure Socket
Layer
openssl.license 0.9.8.410 C F Open Secure Socket
License
openssl.man.en_US 0.9.8.410 C F Open Secure Socket
Layer

$ lslpp -L |grep ssh
openssh.base.client 4.5.0.5302 C F Open Secure Shell
Commands
openssh.base.server 4.5.0.5302 C F Open Secure Shell
Server
openssh.license 4.5.0.5302 C F Open Secure Shell
License
openssh.man.en_US 4.5.0.5302 C F Open Secure Shell

This is what I get with the correct passwd inserted:

[root@machine ~]# ssh pl...@xxxxxxx
pl...@xxxxxxx's password:
Last unsuccessful login: Wed May 7 08:56:09 CDT 2008 on ssh from
x.x.x.x
Last login: Wed May 7 08:56:14 CDT 2008 on ssh from x.x.x.x
*******************************************************************************
*
*
*
*
* Welcome to AIX Version
6.1! *
*
*
*
*
* Please see the README file in /usr/lpp/bos for information
pertinent to *
* this release of the AIX Operating
System. *
*
*
*
*
*******************************************************************************
Connection to x.x.x.x closed.
[root@machine ~]#

Thanks in advance,

Thomas

check /etc/netsvc.conf last line should be something lika "hosts =
local, bind" keep in mind that spaces and comma are sensitive in sme
cases
also check if you have /etc/hosts if not - touch it
.



Relevant Pages

  • Re: strange behaviour of SSH - AIX 6.1
    ... I am working on an AIX6.1 LPAR with enhanced RBAC and Trusted Aix ... I am facing a very strange behaviour of the SSH daemon. ... I insert the correct passwd the second time. ...
    (comp.unix.aix)
  • strange behaviour of SSH - AIX 6.1
    ... I am working on an AIX6.1 LPAR with enhanced RBAC and Trusted Aix ... I am facing a very strange behaviour of the SSH daemon. ... I insert the correct passwd the second time. ...
    (comp.unix.aix)
  • Re: strange behaviour of SSH - AIX 6.1
    ... I am working on an AIX6.1 LPAR with enhanced RBAC and Trusted Aix ... I am facing a very strange behaviour of the SSH daemon. ... I insert the correct passwd the second time. ... openssh.base.client 4.5.0.5302 C F Open Secure Shell ...
    (comp.unix.aix)
  • Re: AIX 5.2L "who" question
    ... You have solved my problem with the who command showing ... ssh logins. ... I have another ssh question if you could help. ... Subject: AIX 5.2L "who" question ...
    (AIX-L)
  • Re: How restrict network login on AIX for everything BUT SSH? (RLOGIN=FALSE & loginrestrictions
    ... Unfortunately I WANT to disable telnet, rsh, rlogin etc for an account, BUT keep SSH enabled. ... However in Aix v5.3 full pam support was added, and our LAM module broke and we have been unable to figure out how to get it working again. ...
    (comp.security.ssh)