ubuntu修改ssh服務的端口號 一、找到ssh配置文件位置 vim /etc/ssh/sshd_config 二、修改ssh登錄端口號 修改 port 22 為 port xxxx 三、重啟ssh服務 /etc/init. ...