在Mac OS X 10.10.5学习hadoop的过程中,输入命令ssh localhost得到
ssh: connect to host localhost port 22: Connection refused
解决方法是选择系统偏好设置->选择共享->点击远程登录
然后再输入命令ssh localhost发现已经解决问题找到解决方案来自于
http://stackoverflow.com/questions/6313929/how-do-i-open-port-22-in-os-x-10-6-7

mac connect to host localhost port 22: Connection refused相关推荐

  1. mac下ssh 报错:localhost: ssh: connect to host localhost port 22: Connection refused

    1.美图 2.背景 mac下本地启动hadoop 本地模式 (base) lcc@lcc hadoop-2.7.4$ sh sbin/start-all.sh This script is Depre ...

  2. 日常问题——解决mac下 ssh: connect to host localhost port 22: Connection refused

    问题描述: 今天使用ssh 登陆本地时即使用ssh localhost出现了 ssh: connect to host localhost port 22: Connection refused 错误 ...

  3. Ubuntu下 ssh : connect to host localhost port 22:Connection refused

    Ubuntu下测试ssh时使用ssh localhost 命令,出现错误提示connect to host localhost port 22:Connection refused 造成这个错误的原因 ...

  4. vmware中的Ubuntu安装ssh全家桶(解决connect to host localhost port 22: Connection refused)...

    2019独角兽企业重金招聘Python工程师标准>>> 网上查询过异常信息后得知系统需要安装ssh服务. 1.重现问题:ssh localhost 报错connect to host ...

  5. ssh: connect to host localhost port 22: Connection refused 问题

    错误原因: 1.sshd 未安装 2.sshd 未启动 3.防火墙 4需重新启动ssh 服务 解决方法: 1.确定安装sshd: $ sudo apt-get install openssh-serv ...

  6. ssh: connect to host 192.***.*.* port 22: Connection refused

    在从本地电脑连接远程服务器的时候,显示了ssh: connect to host 192.*.. port 22: Connection refused这个问题. 问题出现的原因是:没有安装sshd ...

  7. ssh本机连接connect to host localhost port 2222: Connection refused

    在根据博客[https://zhuanlan.zhihu.com/p/355748937]配置和连接ssh服务的过程中,连接失败. 尝试了很多方法都不行,最后怀疑端口被占用,解决方法: 重新配置/et ...

  8. hadoop : Starting namenodes on [master] master: ssh: connect to host master port 22: Connection refu

    Starting namenodes on [master] master: ssh: connect to host master port 22: Connection refused; 本人启动 ...

  9. ssh:connect to host xxx port 22: Connection refused---------you don‘t have permission to acccess the

    在自己的Ubuntu电脑上,用ssh连接xavier NX板子的时候,突然出现了连接不上的情况,提示you don't have permission to acccess the requested ...

最新文章

  1. 使用 nc (Netcat) 建立傳送資料的 socket server
  2. 关联规则java代码_重量挖掘关联规则挖掘方法,哪个大神可以将以下伪代码转换为Java代码?...
  3. linux 查看进程_Linux怎么查看和监控每个进程的实时流量
  4. ajax使用教程_AJAX教程:什么是AJAX以及如何使用它
  5. 20200723:198周周赛学习记录
  6. FreeBSD6.1学习笔记[转]
  7. mongodb自定义字段_MongoDB哈希分片
  8. remote Incorrect username or password ( access token ):用户名或密码不正确(访问令牌)
  9. 计算机软件技术基础教程 试卷,《计算机软件技术基础》试卷A-16
  10. python菜鸟教程 | 字典(Dictionary)
  11. 创业者该如何给员工画饼、圆饼?
  12. 【目标检测】 YOLO
  13. 修改 hosts 文件
  14. mac 不显示 外接屏幕_教大家Mac外接显示器设置教程
  15. Unity自定义UI组件(十一) 雷达图、属性图
  16. 为什么说人生低谷期是最好的增值期?
  17. cv2.cv2.findContours opencv-python
  18. 堪称最美丽的3D场景模型:大雪后的城堡 制作全过程分享
  19. STC单片机驱动BLDC无刷直流电机(无HALL)官方示例
  20. python异常模块raise的概念以及基本用法

热门文章

  1. 获取一个对象的属性/属性值,以及动态给属性赋值
  2. 【转】推荐给初级Java程序员的3本进阶书
  3. Chrome 的又一个bug?
  4. ROS学习(五):package.xml 文件
  5. 基于PyTorch的GAN框架TorchGAN:用架构级API轻松定制GAN项目
  6. linux下confstr与uname函数_获取C库与内核信息
  7. 如何使用CodeSmith批量生成代码
  8. EasyUI DateTimeBox设置默认时间的注意点
  9. Lync Server 2010的部署系列(三) lync批量导入用户联系人
  10. 在Linux系统下如何运行notes客户端