password authentication驗證方式,對于一些SSH clients (例如: SecureCRT)允許使用者「儲存」密碼,那么如果你選擇了記憶密碼,就可以直接登錄而不需要輸入密碼。freebsd默認情況下是keyboard-interactive authentication模式的,如果要使用password authentication方式,可以修改/etc/ssh/sshd_config文件,
默認情況/etc/ssh/sshd_config文件全部為注釋掉的,所以查找
PasswordAuthentication no
改為
PasswordAuthentication yes
然后再找到
PermitRootLogin = no
改為,允許root用戶直接登陸
PermitRootLogin = yes
重啟SSHD服務(wù)即可: service sshd restart