iT邦幫忙

0

關閉sshd的登入密碼認證(PasswordAuthentication)

在設定sshd的時,若想要關閉sshd登入的認證,請修改sshd_config
[root@localhost ~]# vim /etc/ssh/sshd_config
57 # To disable tunneled clear text passwords, change to no here!
58 #PasswordAuthentication yes
59 #PermitEmptyPasswords no
60 PasswordAuthentication no
#請把PasswordAuthentication yes 改為no

詳細內容請參考http://blog.faq-book.com/?p=2883


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言