# 5c8224e5b24d3  發表:Odyssey     新增:2018-08-31 13:36:18     更新:2023-01-19 10:58:06  編 輯      刪 除     
編輯設定檔

vi +/PermitRootLogin /etc/ssh/sshd_config

#PermitRootLogin yes

PermitRootLogin no

重新啟動 sshd 服務

systemctl restart sshd


綠茶半糖

Website:http://www.odysseyweb.idv.tw/

Discord:https://discord.gg/ht4mwMG

YouTube:https://www.youtube.com/channel/UCQwGJo1JXmIR-SMY8tXL5Uw

推文
 
顯示 11 (1 / 1)
我要回覆
人名
主題
Linux 禁止 root 遠端登入
訊息