ubuntu能ping通却ssh不上(connect to localhost port 22: Connection refused)解决办法
来源:互联网 发布:斗鱼直播平台源码 编辑:程序博客网 时间:2024/05/16 00:33
- 问题:
ssh 192.168.144.130
ssh: connect to host 192.168.144.130 port 22: Connection refused - 原因:因为Ubuntu默认没有安装openssh-server
- 检查是否安装指令:$ ps -e|grep ssh
- 如何输出没有或者只有一个ssh-agent就说没没安装.
- 安装指令: $ sudo apt-get install openssh-server
安装完后输入 :$ ssh localhost 如果要输密码就说明成功,也可以用指令检查:ps -e|grep ssh
如有其他问题欢迎留言探讨!!
1 0
- ubuntu能ping通却ssh不上(connect to localhost port 22: Connection refused)解决办法
- Ubuntu ssh: connect to host localhost port 22:Connection refused
- 在Ubuntu中ssh报错: connect to host localhost port 22: Connection refused 解决办法
- [Hadoop] Ubuntu 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 问题
- 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
- 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
- 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
- android常用工具类集合
- deque容器
- 新人报到
- TOMCAT服务器不写端口号、不写项目名访问项目、虚拟目录配置
- BZOJ 1207.[HNOI2004]打鼹鼠
- ubuntu能ping通却ssh不上(connect to localhost port 22: Connection refused)解决办法
- C语言中,整形、浮点型、字符型数据在不同编译器中所占据的字节数
- C++当中的几种强制类型转换
- leetcode:Brainteaser:Nim Game(292)
- Maven安装配置
- 新人报到
- RenderQueue 与 ZTest的区别
- 4.Median of Two Sorted Arrays
- PHP--面向对象