# apt-get install ssh # apt-get install openssh-server
# vim /etc/ssh/sshd_config
Port 22 PasswordAuthentication yes PermitRootLogin yes -> 是否開放 root 登入
# /etc/init.d/ssh restart