Unable to connect with SSH
by mallen from LinuxQuestions.org on (#578EF)
I am trying to use the transfer tool in WHM. There was some connection issues. So I tried to SSH into the server to see if it would work. Each time I use Putty it closes immediately after I enter my password. Is there anything I can check on the server to allow me to connect?
I tried using the terminal in WHM and looked at the logs
# tail -f -n 50 /var/log/secure | grep sshd
pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=xxx.xxx.xx.xx user=myname
error: PAM: Authentication failure for myname from xxx.xxx.xx.xx
Accepted keyboard-interactive/pam for myname from xxx.xxx.xx.xx port 58783 ssh2
pam_unix(sshd:session): session opened for user myname by (uid=0)
pam_unix(sshd:session): session closed for user myname


I tried using the terminal in WHM and looked at the logs
# tail -f -n 50 /var/log/secure | grep sshd
pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=xxx.xxx.xx.xx user=myname
error: PAM: Authentication failure for myname from xxx.xxx.xx.xx
Accepted keyboard-interactive/pam for myname from xxx.xxx.xx.xx port 58783 ssh2
pam_unix(sshd:session): session opened for user myname by (uid=0)
pam_unix(sshd:session): session closed for user myname