狠狠躁夜夜躁人人爽天天不卡软件丨成·人免费午夜无码视频丨国产成人无码18禁午夜福利免费丨欧美一区二区婷婷香蕉狠狠干丨色欲国产精品一区二区

技術(shù)文檔

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

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

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

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

通過CRT遠(yuǎn)程登錄Ubuntu時(shí)遇到報(bào)錯(cuò):

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.yganxi.com/help/47.html

簡(jiǎn)米科技服務(wù)器支持24小時(shí)免費(fèi)測(cè)試


成為簡(jiǎn)米科技會(huì)員,享受出眾的上云實(shí)踐機(jī)會(huì)和周到的尊貴服務(wù)!
主站蜘蛛池模板: 剑川县| 邯郸县| 桦川县| 伊金霍洛旗| 全南县| 青铜峡市| 北碚区| 库尔勒市| 丰宁| 马公市| 嘉义县| 思茅市| 金昌市| 杭州市| 高阳县| 洪江市| 乌审旗| 洱源县| 蒲江县| 阜新| 威远县| 株洲市| 滦平县| 孟连| 钟祥市| 都江堰市| 临安市| 车致| 遵义县| 内丘县| 白沙| 宜城市| 浑源县| 钟祥市| 东安县| 越西县| 东兰县| 长沙市| 彭泽县| 通渭县| 铜梁县|