ssh:Network error:connection refused的排查
来源:互联网 发布:linux命令在哪里输入 编辑:程序博客网 时间:2024/05/16 19:33
重新开启下服务:
service ssh(d) restart
(前提是要安装了SSH,如果没有安装就要先安装ssh,检查防火墙);
linux自带SSH服务的,安装Linux应该就已经有了SSH服务。
以前能用,突然不能用,应该不是没安装ssh的原因。
#ps -ef |grep sshd
看看有没有进程
文件是否有对本机ip监听;
使用netstat -a查看ssh服务是否开启,如出现相应端口22则为启用;
如服务未生效,先使用
chkconfig –list
命令检查ssh服务状态,如对应状态下,再使用
chkconfig –level 2345 sshd on
使服务开机启动。
重启服务器,或
service sshd start
0 0
- ssh:Network error:connection refused的排查
- Linux 虚拟机:Network error: Connection refused 排查
- Linux 虚拟机:Network error: Connection refused 排查
- Linux 虚拟机:Network error: Connection refused 排查
- ssh连接树莓派出现"network error:connection refused"的解决办法
- ssh连接树莓派出现"network error:connection refused"的解决办法
- putty:network error:Connection refused
- "ssh connection refused" error sometimes.
- Network error IOException: Connection refused: connect
- jtds Network error IOException Connection refused connect
- putty network error:Connection refused 乱码
- Network error IOException: Connection refused: connect
- Network error IOException: Connection refused: connect
- win10与ubantu虚拟机之间的文件传递(Network error: Connection refused)
- Putty连接虚拟机Centos出现:Network error:Connection refused的解决方法
- sql Connect:Network error IOException:Connection refused:connect
- jtds"Network error IOException Connection refused: connect"问题解决
- putty连linux,显示Network error:Connection refused
- android nagative drawer图标跟标题适配
- android 项目中出现红色感叹号的解决方法
- 【译】MySQL – The Error Log
- stm32定时器实现60秒定时秒表
- 移动互联网实时视频通讯之视频采集
- ssh:Network error:connection refused的排查
- mysqld设置密码
- Fragment调用Activity
- 安卓xml颜色设置
- stm32 u8 u16 u32
- Fragment 代码怎么写
- Service 广播 到Fragment
- python中MySQLdb模块用法实例
- 安卓SeekBar