sftp/scp hangs at ssh authentication in RHEL 5

Solution Verified - Updated -

Issue

  • Cannot sftp to a RHEL5 server from a non Red Hat server. For example:
sshd[27152]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=[host2.example.com](http://host2.example.com/)   user=username2
sshd[27152]: Accepted password for username2 from 10.1.1.81 port 11508 ssh2  
sshd[27152]: pam_unix(sshd:session): session opened for user username2 by (uid=0)  
sshd[27627]: subsystem request for sftp  

Succeeds, but:

sshd[28161]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=[host.example.com](http://host.example.com/)   user=username
sshd[28161]: Accepted password for username from 10.1.1.181 port 5761 ssh2  
sshd[28161]: pam_unix(sshd:session): session opened for user username by (uid=0)  
sshd[28657]: subsystem request for sftp  
sshd[28684]: Did not receive identification string from UNKNOWN  
sshd[28161]: pam_unix(sshd:session): session closed for user username

fails.

Environment

  • Red Hat Enterprise Linux 5
  • Putty - version 0.60
  • Solaris scp client (5.1)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content