Pycharm远程SSH报错Can‘t connect to remote host: Connection refused: connect完美解决(远程linux子系统也适用)
问题产生原因:被控服务器没安装SSH,我们只需要安装即可。解决方法:1、安装SSH:sudoapt-getinstallopenssh-server2、开启SSH:servicesshdstart报错解决:如果报错Failedtostartsshd.service:Unitsshd.servicenotfound,尝试添加sudossh.service:systemctlenablessh.ser