1.SSH 服务远程连接需要设定的五参数
远程连接需要设定的五个参数为:协议、IP、端口、用户名、密码
2 查看ssh进程
[root@hellochangxu data]# ps -ef|grep ssh
root 1150 1 0 20:27 ? 00:00:00 /usr/sbin/sshd
root 1258 1150 0 20:29 ? 00:00:00 sshd: root@pts/0
root 1285 1260 0 20:38 pts/0 00:00:00 grep ssh
3 查看ssh端口
[root@hellochangxu data]# netstat -ntlpu|grep ssh
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1150/sshd
tcp 0 0 :::22 :::* LISTEN 1150/sshd
4.SSH远程管理故障排查
检测两个机器是否畅通
查看Linux上ssh服务是否完好
[root@hellochangxu data]# /etc/init.d/sshd status
openssh-daemon (pid 1150) is running...
telnet 192.168.109.132
如果输入在 s windows 的 的 d cmd 窗口输入 t telnet 提示: ..... 不是内部或外部命令,
也不是可执行程序 ....
解决办法:开始 — 控制面板 — 程序和功能 — 打开或关闭windows 功能 — 勾选
telnet 客户端 —
检查防火墙是否阻挡