问题描述 测试以下命令同样连接不上 ssh localhost 问题原因 Ubuntu系统自带 openssh-client,但是没有自带 openssh-server,所以要自行安装openssh-server。 解决方法 sudo apt install openssh-server 安装完成后,即可远程SSH连接