在从别的机子上拷贝东西时,出现如下错误,找了下问题,也就是说是我没有在本机建立ssh服务
ssh:connecttohost192.168.1.118port22:Connectionrefused
lostconnection
需要安装服务模块openssh-server
解决办法:sudoapt-getinstallsshopenssh-server
当然,更多的时候不是这个问题,而是你没有权限
本文介绍了解决SSH连接被拒绝的问题,通常是因为未安装openssh-server服务模块导致的。通过使用命令sudo apt-get install ssh openssh-server可以安装所需的服务模块。
在从别的机子上拷贝东西时,出现如下错误,找了下问题,也就是说是我没有在本机建立ssh服务
ssh:connecttohost192.168.1.118port22:Connectionrefused
lostconnection
需要安装服务模块openssh-server
解决办法:sudoapt-getinstallsshopenssh-server
当然,更多的时候不是这个问题,而是你没有权限

被折叠的 条评论
为什么被折叠?