1753946 Members
8137 Online
108811 Solutions
New Discussion юеВ

Re: ssh login question

 
navin
Super Advisor

ssh login question

Hi,

I'm running hp-ux 11.23 - one of my account(nis) closes connection as soon as logged in via ssh - say for example server a to b or b to a the ssh connection accepts the passwd but immediatly closes the connection -
the passwd seems fine as the telnet works fine
any idea
thanks
ssh version
OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14, OpenSSL 0.9.7l 28 Sep 2006
HP-UX Secure Shell-A.04.50.021, HP-UX Secure Shell version
Learning ...
5 REPLIES 5
Tingli
Esteemed Contributor

Re: ssh login question

Does that account have a home directory?
navin
Super Advisor

Re: ssh login question

yes ,under that .ssh dir out there with identity identity.pub and known_hosts
thanks
Learning ...
Tingli
Esteemed Contributor

Re: ssh login question

Run ssh -v to look at it or check file /var/adm/syslog/syslog.log to seek more info.
Suraj K Sankari
Honored Contributor

Re: ssh login question

Hi Navin,
Are you getting this error for a single account to all user.

Suraj
Chandrahasa s
Valued Contributor

Re: ssh login question

Hi,
Edit the file as UsePAM yes to UsePAM no
/etc/opt/ssh/sshd_config

Chandra