沈雅

努力,以不负沈雅之名!
嵌入式、Linux、Cosplay、Acg、动漫、各种文学 全为我所爱矣!
交流联系:QQ88459122

ubuntu开启ssh服务

羁绊君:

ubuntu开启ssh服务

0. 先更新下 sudo apt-get update

1.安装ssh服务  sudo apt-get install openssh-server

3.开启ssh服务 ssh localhost 输入密码

查看ip地址命令 ifconfig


4.ssh连接命令  ssh username@xx.xx.xx.xx -p+端口数字  (这部分没改过的话可以不填)

例:  ssh saber@192.168.18.129

现在就可以用ssh远程连接了  

评论
热度(1)

© 沈雅 | Powered by LOFTER