Loading

Linux 修改 ssh 端口

edit config && add Port 2222

vi /etc/ssh/sshd_config 

重启ssh服务

systemctl restart sshd.service

查看端口

sudo netstat -atlunp | grep sshd
posted @ 2021-01-11 13:39  ZJH_BLOGS  阅读(116)  评论(0)    收藏  举报