出现ssh connect to host localhost port 22 Connection refused问题的解决方法
来源:互联网 发布:ezbuy和淘宝什么关系 编辑:程序博客网 时间:2024/05/16 09:26
欢迎光临我的个人博客:郭放的博客
在进行ssh连接时出现以下报错
1
ssh:connect to host localhost port 22: Connection refused
解决办法
1.检查是否安装了openssh-server
1
ps -e|grep ssh1
如果只出现了一个ssh,说明没有安装可以自行上网解决,一般centos是默认安装的,不会出现这种情况。
2.sshd未启动
1
service sshd restart
重启后
ssh localhost应该能正常的看到输入密码的情况了。
阅读全文
0 0
- 出现ssh connect to host localhost port 22 Connection refused问题的解决方法
- ssh:connect to host localhost port 22: Connection refused解决方法
- 输入ssh localhost, 出现问题“ssh: connect to host localhost port 22: Connection refused”
- ssh: connect to host localhost port 22: Connection refused 问题
- ssh: connect to host localhost port 22: Connection refused 问题
- ssh: connect to host localhost port 22: Connection refused 问题
- ssh: connect to host localhost port 22: Connection refused 问题
- Ubuntu 安装配置SSH(ssh: connect to host localhost port 22: Connection refused问题的解决)
- Ubuntu 安装配置SSH(ssh: connect to host localhost port 22: Connection refused问题的解决)
- ssh: connect to host localhost port 22: Connection refused
- ssh: connect to host localhost port 22: Connection refused
- ssh: connect to host localhost port 22: Connection refused
- ssh: connect to host localhost port 22: Connection refused
- cygwin ssh: connect to host localhost port 22: Connection refused
- ssh: connect to host localhost port 22: Connection refused
- Ubuntu ssh: connect to host localhost port 22:Connection refused
- ssh: connect to host localhost port 22: Connection refused
- Linux--ssh: connect to host localhost port 22: Connection refused
- CAN FD:测量和重编程
- CorelDRAW X6 软件+注册机
- C和指针之字符串总结
- 利用java中的双层循环求素数
- 简单搜索练习(一)二分入门 HDU 2141 Can you find it?POJ 2785 4 Value whose Sum is 0
- 出现ssh connect to host localhost port 22 Connection refused问题的解决方法
- 走进Spark生态圈:RDD及其相关操作
- MFC 让程序停一下 但不卡住的办法
- linux语系
- Java中BigDecimal的8种舍入模式
- Wannafly挑战赛4 A C
- 听闻electron 打包可以让我费很长时间
- OpenVPN 网桥模式
- 【Linux】Ubuntu 14.04下搭建 C/C++开发环境