SCP connections display: unknown user lost connection and SSH connections display: I have no name
Issue
- Unable to connect via
scporsftpbutsshconnections are successful but display the following error:
/usr/bin/id: cannot find name for user ID
[I have no name!@server]
- A failed
scpconnection displays the following error:
/usr/bin/id: cannot find name for user ID
unknown user
lost connection
- A failed
sftpconnection displays the following error:
Connection closed.
Connection closed.
Environment
- Red Hat Enterprise Linux
- openssh
- scp
- sftp
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.