参考网址:
[Xshell连接不上Ubuntu解决方式](https://blog.csdn.net/p397226804/article/details/78574226)
首先,我们想在Windows下,远程控制Linux,我们得确保Linux允许Windows访问才行。
```
ps -e | grep ssh
```
如果此时只有1721?是无法被访问的,我们需要install openssh-server,命令如下:
```
sudo apt-get install openssh-server
```
以下是Linux端命令输出内容截图:


安装好了之后,我们再执行查询命令,可以明显看出多了26337? sshd

以下是Shell的使用方式, 新建连接,输入Linux的IP地址。然后一步一步走下去,就可以远程控制Linux系统啦~
至于如何查看Linux的IP地址,执行ifconfig命令即可。如果此时无法使用ifconfig命令,需要install net-tools, 命令:sudo apt install net-tools。
可参考文章:[Linux 学习- Ubuntu 查看本机IP](https://www.jianshu.com/p/8697193e0570)





