ssh链接
mac上连接服务器最便捷的方式无疑是ssh连接了
打开cmd窗口运行
sudo ssh username@ip -p port
1.提示你输入本机密码
Password:
2.提示ECDSA key
ECDSA key fingerprint is SHA256:CjKMbELB5VvJeM6KeBmthGoi6C2QjbfbmEYlyT8Zew8. Are you sure you want to continue connecting (yes/no)? yes
3.输入远程连接密码
xxx@xx.x.xx.xxx's password:
4.成功连接
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.13.0-43-generic x86_64)