ssh 不能连接linux系统 Could not connect to '192.168.X.X'(port 22) Connection failed
来源:互联网 发布:淘宝懒人鞋阿迪 编辑:程序博客网 时间:2024/05/01 21:17
centOS7配置好IP地址后,发现可以ping通,但是不能ssh远程连接
解决办法:
查看防火墙:service iptables status
关闭防火墙:service iptables stop
打开防火墙:service iptables start
发现不是防火墙的原因。
最后原因是没有使能ssh服务。
解决办法:运行 /etc/init.d/sshd restart
0 0
- ssh 不能连接linux系统 Could not connect to '192.168.X.X'(port 22) Connection failed
- XShell连接不了虚拟机linux Could not connect to '127.0.0.1' (port 22): Connection failed.
- 用xshell 连接服务器提示:Could not connect to '192.168.0.104' (port 22): Connection failed.
- Could not connect to '192.168.1.188' (port 22): Connection failed.远程连接centos失败
- Could not connect to '10.7.100.182' (port 22): Connection failed
- Could not connect to '127.0.0.1' (port 22): Connection failed.
- Xshell远程连接Linux服务器出错——Could not connect to '114.214.166.5' (port 22): Connection failed.
- xshell为什么连接不上ubuntu---could not connect to 'ip' (port 22): Connection failed.
- 用xshell5连接vmware10+centos6.7时报Could not connect to '192.168.54.100' (port 22): Connection failed的解法
- XShell连接不了(ubunt14.04)虚拟机Could not connect to ‘192.168.1.105’ (port 22): Connection failed
- Could not connect to '192.168.80.145' (port 22): Connection failed的解决办法(远程连不上xshell)
- Could not connect to '192.168.80.145' (port 22): Connection failed的解决办法(远程连不上xshell)
- Could not connect to '10.203.87.140' (port 22): Connection faile
- git clone时出现ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from
- Linux--ssh: connect to host localhost port 22: Connection refused
- xshell为什么连接不上ubuntu---ould not connect to 'ip' (port 22): Connection failed.
- ssh :connect to host 192.168.0.7 port 22: Connection refused
- SSH连接GitHub出现 ssh: connect to host github.com port 22: Connection refused解决方法
- 静态注册receiver时,不指定intent-filter
- Recursive sequence HDU
- 三星手机推迟新机发布市场将持续火爆
- PAT-B 1024. 科学计数法 (20)
- 图像卷积与滤波的一些知识点
- ssh 不能连接linux系统 Could not connect to '192.168.X.X'(port 22) Connection failed
- poj 2186 Popular Cows(强连通分量,tarjan或Kosaraju)
- spring ioc
- leetcode题解Java | 148. Sort List
- ARM处理器-模式切换
- 欢迎使用CSDN-markdown编辑器
- 应用跳转(Deep Link)
- 泛型例子
- Debian 8.x (Jessie) 快速纯净安装教程