# vi /etc/ssh/sshd_config
Port 22
Protocol 2
PermitRootLogin yes
PubkeyAuthentication yes
PermitEmptyPasswords no
UsePAM yes
X11Forwarding yes
TCPKeepAlive yes
# /etc/init.d/sshd start
# netstat -tlupn |grep ssh
(參考至鳥哥的 Linux 私房菜)
沒有留言:
張貼留言