一、 在安装好了centOS 7 的服务上,打开终端 运行 ip -s addr 命令 获取服务的IP地址
[root@localhost ~]# ip -s addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
RX: bytes packets errors dropped overrun mcast
0 0 0 0 0 0
TX: bytes packets errors dropped carrier collsns
0 0 0 0 0 0
2: eno16777736: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:0f:e9:6d brd ff:ff:ff:ff:ff:ff
inet 192.168.163.130/24 brd 192.168.163.255 scope global dynamic eno16777736
valid_lft 1178sec preferred_lft 1178sec
inet6 fe80::20c:29ff:fe0f:e96d/64 scope link
valid_lft forever preferred_lft forever
RX: bytes packets errors dropped overrun mcast
221799054 169206 0 0 0 0
TX: bytes packets errors dropped carrier collsns
5416677 60741 0 0 0 0
二、下载 Xshell 5 并安装
安照要求填写主机IP地址 确认后 输入服务器账号密码即可登录 到服务器终端.