Skip to content
本页内容

CentOS 修改 SSH 端口



1、配置文件位置
txt
/etc/ssh/sshd_config
修改Port 22
2、重启服务
shell
systemctl restart sshd