mac connect to host localhost port 22: Connection refused
生活随笔
收集整理的這篇文章主要介紹了
mac connect to host localhost port 22: Connection refused
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
在Mac OS X 10.10.5學(xué)習(xí)hadoop的過程中,輸入命令ssh localhost得到
ssh: connect to host localhost port 22: Connection refused
解決方法是選擇系統(tǒng)偏好設(shè)置->選擇共享->點(diǎn)擊遠(yuǎn)程登錄
然后再輸入命令ssh localhost發(fā)現(xiàn)已經(jīng)解決問題找到解決方案來自于
http://stackoverflow.com/questions/6313929/how-do-i-open-port-22-in-os-x-10-6-7
?
總結(jié)
以上是生活随笔為你收集整理的mac connect to host localhost port 22: Connection refused的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Linux性能相关工具
- 下一篇: JVM学习之GC常用算法