连接Ubuntu系统失败提示Could not connect to '192.168.56.105' (port 22): Connection failed
service ssh start
尝试启动ssh服务的时候提示:sshd: no hostkeys
最后输入命令得以解决:
ssh-keygen -A
/etc/init.d/ssh start
最后验证一下ssh连接能成功连接上了,使用Xshell
连接Ubuntu系统失败提示Could not connect to '192.168.56.105' (port 22): Connection failed
service ssh start
尝试启动ssh服务的时候提示:sshd: no hostkeys
最后输入命令得以解决:
ssh-keygen -A
/etc/init.d/ssh start
最后验证一下ssh连接能成功连接上了,使用Xshell