Linux远程连接服务排查故障

** 1、俩个机器之间是否通畅,看物理网络 (网线网卡、IP是不是正确)
ifconfig:查看网卡信息
IP:ping 192.168.1.128 -t
检查物理网络是否顺畅
(网卡、IP、网线、防火墙)

2、检查服务是否是好的 *(网卡、IP、网线、防火墙)
服务器端ssh服务,进程名sshd, openssh(连接),openssl.(加密)

不通原因:
1、服务器防火墙是否开启

[[email protected] ~]# /etc/init.d/iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules:

2、端口没有开放,服务器端没有监听你连接的端口
[[email protected] ~]# netstat -lntup|grep 22
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 4092/sshd
tcp 0 0 :::22 ::???? LISTEN 4092/sshd
[[email protected] ~]# netstat -lntup|grep sshd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 4092/sshd
tcp 0 0 :::22 ::???? LISTEN 4092/sshd

3、重启SSHD服务
[[email protected] ~]# /etc/init.d/sshd restart

ssh服务器是否好的:从那台机器上面链接就测试那台电脑
telnet 192.168.43.160 22
Linux远程连接服务排查故障
打开telnet客户端命令

控制面板\所有控制面板项\程序和功能
Linux远程连接服务排查故障

Linux远程连接服务排查故障

相关文章:

  • 2021-05-03
  • 2021-07-05
  • 2021-07-07
  • 2021-07-11
  • 2021-09-19
  • 2021-06-09
  • 2021-08-05
  • 2021-06-12
猜你喜欢
  • 2022-01-03
  • 2021-09-07
  • 2021-12-29
  • 2021-12-02
  • 2021-07-17
  • 2021-07-06
  • 2021-09-26
相关资源
相似解决方案