ssh: connect to host localhost port 22: Connection refused
来源:互联网 发布:淘宝仓库发货员 编辑:程序博客网 时间:2024/06/03 14:16
在ROS下运行ssh 指令时可能会碰到这样的错误提示
ssh: connect to host localhost port 22: Connectionrefused
错误原因可能有三个:
1.sshd 未安装
2.sshd未启动
3.防火清
解决办法:
1.确定安装sshd :sudo apt-get install openssh-server
2.启动sshd:net start sshd
3.检查防火墙设置,最好暂时关闭。
检验方法
输入命令:ssh localhost
这里有时候需要用到自己主机的hostname,那么如何查看hostname呢?
事实上十分简单,直接在dos下输入hostname即可。
阅读全文
0 0
- 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 问题
- 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
- 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 问题
- POJ 3481 Double Queue (Splay || 水题)
- win32汇编-高级语法
- 人工智能与艺术——让炫酷科技多了一抹柔情
- 每日一题——逆置单链表
- Java的native方法
- ssh: connect to host localhost port 22: Connection refused
- NYOJ-士兵杀敌(五) 线段树区间更新、线段求和
- linux 动态链接库
- Python:二叉树的下一个节点
- JAVA 排序算法整理总结,看了这个保你理解
- javascript 中字符串操作
- 微信朋友圈广告可开发你造吗?
- xml基础知识
- 毛孔堵塞怎么办?教你疏通小窍门