1、安装: sudo apt-get install openssh-server openssh-client 2、重启服务: service ssh start ssh localhost lsof -i:22 详细:https://blog.csdn.net/laosun12/article/details/90413267