网站制作公司南宁,wordpress用户登录后,中国十大营销策划公司排名,简答题网站建设的主要内容SSH远程管理故障排查方案#xff1a;1、检测两个机器是否畅通两个机器之间是否畅通#xff0c;查看物理链路是否有问题(网线网卡、IP是否正确)第1步#xff1a;物理链路是否畅通#xff0c;比喻为“高速公路是否畅通”ping 排查客户端到服务端的线路问题#xff0c;ping是… SSH远程管理故障排查方案1、检测两个机器是否畅通 两个机器之间是否畅通查看物理链路是否有问题(网线网卡、IP是否正确) 第1步物理链路是否畅通比喻为“高速公路是否畅通” ping 排查客户端到服务端的线路问题ping是常用的网络连通性检查工具 tracert -d 路由追踪命令-d是不进行反向解析 C:\Users\Administratorping 10.0.0.8 正在Ping 10.0.0.8 具有32 字节的数据: 来自10.0.0.8 的回复: 字节32 时间1ms 来自10.0.0.8 的回复: 字节32 时间1ms 来自10.0.0.8 的回复: 字节32 时间1ms 来自10.0.0.8 的回复: 字节32 时间1ms 10.0.0.8 的Ping 统计信息: 数据包: 已发送 4已接收 4丢失 往返行程的估计时间(以毫秒为单位): 最短 0ms最长 0ms平均 0ms C:\Users\Administratortracert -d 10.0.0.8 通过最多30 个跃点跟踪到10.0.0.8 的路由 1 1 毫秒1 毫秒1 毫秒10.0.0.8 跟踪完成。 2、SSH服务是否是好的 第2步SSH服务是否有问题比喻为“旅游景点是否开放” #/etc/init.d/sshd status查看SSH服务是否开启 telnet 10.0.0.8 22判断SSH服务器默认的22端口是否打开 [rootmoban ~]# /etc/init.d/sshd status openssh-daemon (pid 1601) is running... [rootmoban ~]# Microsoft Windows [版本6.1.7601] 版权所有(c) 2009 Microsoft Corporation。保留所有权利。 C:\Users\Administratortelnet 10.0.0.8 22 SSH-2.0-OpenSSH_5.3 如果输入在windows的cmd窗口输入telnet提示.....不是内部或外部命令也不是可执行程序.... 解决办法开始—控制面板—程序和功能—打开或关闭windows功能—勾选telnet客户端—确定 3、检查防火墙是否阻挡 第3步是不是防火墙阻挡即是不是下雪封路高度阻碍通行了 #/etc/init.d/iptables status:查看防火墙 #/etc/init.d/iptables stop临时关闭防火墙Linux防火墙iptables可能好心办坏事阻碍远程连接所以如果防火墙开启则应关闭 [rootmoban ~]# /etc/init.d/iptables status Table: filter Chain INPUT (policy ACCEPT) Num target prot opt source destination 1 ACCEPT all --0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 2 ACCEPT icmp --0.0.0.0/0 0.0.0.0/0 3 ACCEPT all --0.0.0.0/0 0.0.0.0/0 4 ACCEPT tcp --0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22 5 REJECT all --0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited Chain FORWARD (policy ACCEPT) Num target prot opt source destination 1 REJECT all --0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited Chain OUTPUT (policy ACCEPT) Num target prot opt source destination [rootmoban ~]# /etc/init.d/iptables stop iptables: Setting chains to policy ACCEPT: filter [ OK ] iptables: Flushing firewall rules: [ OK ] iptables: Unloading modules: [ OK ] [rootmoban ~]# 转载于:https://blog.51cto.com/12306609/2150084