How to setup SSH passwordless login in Red Hat Enterprise Linux

Solution Verified - Updated -


  • How to setup SSH password-less login
  • How do I setup SSH passwordless login
  • How to install SSH identity key onto a remote host on Red Hat Enterprise Linux
  • How to transfer files between servers without username/password.
  • Getting below error even after appending rss public key to remote server:
Trying below from primary server after configuring rsa key:
[user@server]$ ssh someuser@
Connection closed by

Please provide a fix for this issue.


  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.