RHEL6: When using the sshpw option in Anaconda, I get connection refused on the installing OS

Solution Verified - Updated -


When installing a new RHEL6 host, and you include the sshpw option in the kickstart file, anaconda doesn't accept incoming connections on port 22.


  • Red Hat Enterprise Linux 6 (RHEL6)
  • Kickstart installation (regardless of installation medium)

  • Kickstart entry similar to

sshpw --username=install JJne883LneS --iscrypted

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