查看端口是否开启 sudo netstat -tlpn 开启端口命令 sudo apt-get install openssh-server openssh-client // 不知道是个啥,反正安装就对了service ssh start ssh localhost lsof -i:22