1834454 Members
2986 Online
110067 Solutions
New Discussion

Re: SSH login problem

 
shanmuhanandam
HPE Pro

SSH login problem

Hi,
I have a hpux 11.11 box. (Secure_Shell A.04.30.006).It is newly installed machine. From other hpux to this machine, ssh is working fine.from windows machine i was trying to ssh the hpux machine thru Putty.But after giving the username and passwd it was not geting connected, simply the window is getting closed.But if i give wrong passwd it again ask for for passwd. that time if i give orginal passwd it is getting connected.I don't know where i made mistake.How to solve the issue?


regards,
shanmugam.
I am an HPE Employee

Accept or Kudo

5 REPLIES 5
Ivan Krastev
Honored Contributor

Re: SSH login problem

On putty check "Close window on exit -> Only on clean exit" to see what is error. Also check errors in /var/adm/syslog/sylog.log on HP-UX machine.

regards,
ivan
shanmuhanandam
HPE Pro

Re: SSH login problem

Hi ivan,

the putty setting you given is the same. here im attaching the syslog.

rgards,
shanmugam.
I am an HPE Employee

Accept or Kudo

Steven E. Protter
Exalted Contributor

Re: SSH login problem

Shalom,

The log shows an authentication failure. Usually typing in a bad password causes this. There could be problems with the pam authentication library.

Could be a problem with the windows client. Note that the username from a windows box will default to the windows user. To override this behavior ssh user@hpuxbox


You seem to have a critical hardware message in the log. I'd do what the log recommends and check that, though its not related to this issue.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rasheed Tamton
Honored Contributor

Re: SSH login problem

Hi,

Just a thought:
I checked the log.
===
70 port 2646 ssh2

Mar 21 12:08:14 hpux-02 sshd[3954]: Accepted keyboard-interactive/pam for root f

Mar 21 12:08:14 hpux-02 sshd[3954]: Accepted keyboard-interactive/pam for root f
rom 10.218.105.16 port 33393
===

From putty did you specify the correct port no whey you use ssh. Looks like you are not using the default port no. for ssh.

Regards,
Rasheed Tamton.


Kim_18
Advisor

Re: SSH login problem

Hi
Did you ever get a fix for this problem. I am having the same problem and was hoping you could share your fix with me.

Thanks
Kim
Ktriplett@riteaid.com