mac connect to host localhost port 22: Connection refused
生活随笔
收集整理的這篇文章主要介紹了
mac connect to host localhost port 22: Connection refused
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在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的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Linux性能相关工具
- 下一篇: JVM学习之GC常用算法