第一個步驟:修改ssh服務組態檔
vi /etc/ssh/sshd_config
79 GSSAPIAuthentication no
115 UseDNS no
第二個步驟:修改hosts檔案
[root@oldboyedu ~]# vi /etc/hosts
10.0.0.200 oldboyedu.com
第三個步驟:重啟ssh遠程服務
systemctl restart sshd
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/44937.html
標籤:Linux
