Xshell连接Ubuntu

390 阅读1分钟

首先,Xshell连接是通过 ssh的 ,先执行以下命令 sudo apt-get install openssh-server image.png

安装好了查看一下 ll /etc/ssh

image.png

修改配置 vim /etc/ssh/sshd_config

image.png

重新启动ssh服务 sudo /etc/init.d/ssh restart

查看虚拟机的IP ip a

image.png

使用xshell连接

image.png