windows下用Xshell远程登录Linux

1.下载安装Xshell

2.右击打开终端,输入su ->口令切换到root

3.查看虚拟机IP

输入命令:ifconfig 若提示not found ,输入/sbin/ifconfig

(export PATH=$PATH:/sbin后,就可以直接使用ifconfig了)

192.168.220.128,就是我们在Win下Xshell中的连接IP。

4.Alt+N创建Xshell连接

 

5.选择刚创建的主机连接

6.按提示输入linux登录的用户名和密码

7.登陆成功!

 

posted @ 2015-12-22 14:43  tinyphp  Views(15607)  Comments(2Edit  收藏  举报