1.$ sudo passwd root
2.$ su -
3.# vi /etc/sshd/sshd_config
4.# service sshd restart
42 PermitRootLogin yes
64 PasswordAuthentication yes
66 #PasswordAuthentication no
80 GSSAPIAuthentication no
81 #GSSAPIAuthentication yes
122 UseDNS no
0 意見:
張貼留言