設定 Linux (Ubuntu) SSH
# apt-get install ssh
# apt-get install openssh-server
設定 ssh config
# vim /etc/ssh/sshd_config
Port 22
PasswordAuthentication yes
PermitRootLogin yes # 是否開放 root 登入
Port 22
PasswordAuthentication yes
PermitRootLogin yes # 是否開放 root 登入