1. 安装SSH服务
apt-get install openssh-server
2.修改端口
nano etc/ssh/sshd_config –> port 223
3. 打开防火墙
ufw allow 223 /tcp
study and work notes
1. 安装SSH服务
apt-get install openssh-server
2.修改端口
nano etc/ssh/sshd_config –> port 223
3. 打开防火墙
ufw allow 223 /tcp