1. 程式人生 > 其它 >How to allow users with no password to login with SSH ?

How to allow users with no password to login with SSH ?

技術標籤:Linux KB

環境

  • Red Hat Enterprise Linux 4/5

問題

  • How to allow users with no password to login with SSH ?

決議

By default, sshd will not allows login to accounts with empty password. To allow such logins, set the following in /etc/ssh/sshd_config

Raw

PermitEmptyPasswords yes

snip from 'man sshd_config'

Raw

PermitEmptyPasswords : When password authentication is allowed,it specifies whether the server allows login to accounts with empty password strings.The default is “no”.

轉載至https://access.redhat.com/solutions/37060