1、在ubuntu虚拟机中安装openssh-server
sudo apt install openssh-server
2、开启ubuntu虚拟机中的ssh服务
sudo /etc/init.d/ssh start

3、查看IP地址

4.MAC终端登陆ssh
(windows 平台可以使用putty)
ssh username@ip地址

1、在ubuntu虚拟机中安装openssh-server
sudo apt install openssh-server
2、开启ubuntu虚拟机中的ssh服务
sudo /etc/init.d/ssh start
3、查看IP地址
4.MAC终端登陆ssh
(windows 平台可以使用putty)
ssh username@ip地址
本文标题:ssh登陆
本文链接:https://www.haomeiwen.com/subject/pntrxhtx.html
网友评论