
安裝ssh服務:
sudo apt-get install ssh
登入後複製
預設只有一般使用者才能遠端連接,如果要開啟root使用者的話:
1、修改配置文件
線上影片教學推薦:linux影片教學
編輯sudo vim /etc/ssh/sshd_config
文件,將PermitRootLogin
的值修改為yes

2、重新啟動ssh服務
/etc/init.d/ssh restart
登入後複製
測試:

相關文章教學推薦:linux教學
#
以上是linux中無法使用root使用者進行遠端登入的詳細內容。更多資訊請關注PHP中文網其他相關文章!