摘要: 1 vim /etc/ssh/sshd_config Port XXXXX #XXXXX 为要修改的端口号,默认是22,直接在新的行添加Port XXXXX即可。 2 systemctl restart sshd 常见问题,修改后重启失败 1 执行提示 journalctl -xe SELinux 阅读全文
posted @ 2022-05-16 15:32 老街巷口熟睡的猫 阅读(216) 评论(0) 推荐(0) 编辑