编辑/etc/ssh/sshd_config文件中的#Port 22,将#去掉,然后修改22为其它自定义的端口
    修改完成后,保存文件并退出,然后使用命令service sshd restart重启sshd服务