远程登录Linux系统

远程登录Linux系统

4.1 为什么要远程登录

4.2 Xshell5安装

4.3 连接登录

4.3.1 连接前提

需要Linux开启一个sshd的服务,监听22号端口,一般默认是开启的

查看是否开启:

chkconfig --list | grep sshd

手动开启:

chkconfig  --level 5 sshd on

service sshd restart

4.3.2 Xshell连接配置

查看虚拟机ip:

ifconfig

配置Xshell:

测试:

1.在/home目录下创建文件

扫描二维码关注公众号,回复: 8471036 查看本文章
cd /home
touch hello.py

2.重启服务器

reboot

猜你喜欢

转载自www.cnblogs.com/SkyOceanchen/p/12171465.html
今日推荐