Ubuntu 开启22端口(远程连接xshell) The_one 2021-09-17 701 阅读1分钟 1. 配置22端口 使用xshell连接 检查是否开启了22端口 lsof -i:22 为空就是没有开启 安装 //安装后需要重启 sudo apt-get install openssh-server openssh-client 重启 reboot 开启 service ssh start ssh localhost lsof -i:22 xshell 链接