前言
发现自己ubuntu没有装ssh,记录一下流程,避免下次忘记。
1.在服务器安装ssh客户端和服务端
sudo apt-get install openssh-client
sudo apt-get install openssh-server
2.启动ssh
sudo service ssh start
3.检查ssh服务是否启动成功
ps -e | grep ssh
出现sshd说明启动成功
4.启用ssh命令
systemctl enable
5.查看服务器ip地址
ifconfig
6.通过远程控制软件连接
Reference
https://www.bilibili.com/video/BV19o4y1B7TL/?spm_id_from=333.1007.top_right_bar_window_history.content.click&vd_source=d35980444421502c6994668aadb25dd8