ubuntu16.04服务器版ssh命令

110 阅读1分钟

ubuntu16.04服务器版ssh命令

1.ssh程序的安装命令

sudo apt install openssh-server

2.服务器启动ssh服务

sudo /etc/init.d/ssh start

3.查看ssh服务是否启用

ps -e|grep ssh

4.查看ip地址命令

ifconfig
image.png 这张图的ip地址为192.168.106.133

5.下载xshell学生版,新建会话在主机输入ip地址,直接可以连接

image.png

参考引用: 1.blog.csdn.net/yucicheung/… Ubuntu下使用SSH 命令用于登录远程桌面