色哟哟成人天堂av在线观看,日韩精品视频在线观看一区二区三区,激情五月综合开心五月,在线亚洲国产丝袜日韩,亚洲国产日韩精品一区,推荐丝袜高跟在线观看,美女扒开粉嫩尿口给男生桶,欧美日韩国产一区二区,日韩久久久久久蜜臀av

技術(shù)文檔

幫助中心 > 技術(shù)文檔 >

Ubuntu系統(tǒng)root用戶遠程登錄

2023-12-14 作者:簡米科技 閱讀量:0 所屬分類:技術(shù)文檔

Ubuntu系統(tǒng)root用戶遠程登錄

通過CRT遠程登錄Ubuntu時遇到報錯:

The client has disconnected from the server. Reason:

Unable to authenticate using any of the configured authentication methods.

Ubuntu初始登錄只能是普通用戶,想用root登錄,需普通用戶登錄,然后切換為root用戶,先設(shè)置root密碼,再更改sshd_config文件

ixo@snort:~$ sudo su

Password:

root@snort:/home/ixo#sudo passwd root

New password:

Retype new password:

passwd: password updated successfully

root@snort:/home/ivo# nano /etc/ssh/sshd_config

注意:是sshd_config,而不是ssh_config

...

#port 22

port 22

#PermitRootLogin prohibit-password

PermitRootLogin yes # 允許root直接登錄

保存后重啟ssh服務(wù)

sudo service ssh restart

標(biāo)簽:

本文地址:http://www.sdu-sz.com/help/47.html

簡米科技服務(wù)器支持24小時免費測試


成為簡米科技會員,享受出眾的上云實踐機會和周到的尊貴服務(wù)!
久久精品国产色蜜蜜麻豆 | 久久精品国产色蜜蜜麻豆 |