xshll 连接不上排错

xshll 故障排错

image.png

image.png

第1步 检查ip地址是否正确 检查网卡状态是否是UP 状态

[root@zhaoshuang ~]#ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    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
2: eth0:  mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:0c:29:97:ba:27 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.11/24 brd 10.0.0.255 scope global noprefixroute eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::20c:29ff:fe97:ba27/64 scope link 
       valid_lft forever preferred_lft forever

第2步 检查网卡配置是否正确

cat /etc/sysconfig/network-scripts/ifcfg-eth0

[root@zhaoshuang ~]#cat /etc/sysconfig/network-scripts/ifcfg-eth0
TYPE=Ethernet
BOOTPROTO=none
NAME=eth0
DEVICE=eth0
ONBOOT=yes
IPADDR=10.0.0.11
PREFIX=24
GATEWAY=10.0.0.254
DNS1=1.2.4.8

第3步 检查是否关闭CentOS 7 NetworkManager

详细说明:network
修改网卡配置文重启后网卡配置生效
NetworkManager 通过命令控制网卡nmcli
Systemctl stop NetworkManage 关闭服务
Systemctl disable NetworkManager 禁止服务
Systemctl restart Network 重启网卡

[root@zhaoshuang ~]#systemctl status NetworkManager 
● NetworkManager.service - Network Manager
  Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
  Active: inactive (dead) since Sat 2019-08-17 18:25:18 CST; 1min 56s ago
    Docs: man:NetworkManager(8)
 Process: 6064 ExecStart=/usr/sbin/NetworkManager --no-daemon (code=exited, status=0/SUCCESS)
Main PID: 6064 (code=exited, status=0/SUCCESS)

第4步 检查vmware编辑 虚拟网络编辑器

image.png

image.png

第5步 检查vmware 服务是否正常运行

DOS命令
Services.msc

image.png

第6步 检查window vmware8状态

image.png

如果ip地址不对 可手动配置

image.png

检查window网卡是否被共享

image.png

第7步 最后一步

(注:693 是删除目录 不可执行)
原因 缺少 /var/empty/sshd

image.png

你可能感兴趣的:(xshll 连接不上排错)