mac scp connect to host port 22:connection refused

背景

今天从服务器进行数据转移。用scp指令就是报scp ssh: connect to host 9.123.159.41 port 22:connection refused

《mac scp connect to host port 22:connection refused》

解决方法

就是mac的防火墙没有关,没有设置共享可以远程登录。

《mac scp connect to host port 22:connection refused》

《mac scp connect to host port 22:connection refused》

搞定

    原文作者:木木甫
    原文地址: https://segmentfault.com/a/1190000015778180
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞