ubuntu ssh root登入 - Linux

Hamiltion avatar
By Hamiltion
at 2012-12-17T17:34

Table of Contents

雖然我知道大家都不建議用root登入ssh
但是由於工作上有需要用到
所以還是來跟大家請教一下
小弟使用的是ubuntu 12.04 server
/etc/ssh/sshd_config 中的 PermitRootLogin 也是設為yes
但是我還是無法遠端用root直接登入
我登入後使用sudo -i是正常的
請問我還有什麼設定沒改到嗎

--
Tags: Linux

All Comments

Candice avatar
By Candice
at 2012-12-18T02:51
/etc/init.d/ssh restart
Robert avatar
By Robert
at 2012-12-19T16:45
你有建ROOT密碼嗎
Vanessa avatar
By Vanessa
at 2012-12-24T02:38
因為root沒有設密碼 設定密碼或設定金鑰登入
Robert avatar
By Robert
at 2012-12-25T22:36
ubuntu預設root帳號是鎖起來的 所以如果你沒設定過
root密碼的話不可能會登入的進去的
Rachel avatar
By Rachel
at 2012-12-27T08:07
抱歉忘了說我ssh修改完是有重啟的
Kama avatar
By Kama
at 2012-12-29T18:16
是我root密碼沒設沒錯,謝謝大家
Jake avatar
By Jake
at 2013-01-02T04:46
ssh -pport [email protected]
Candice avatar
By Candice
at 2013-01-05T00:07
-p後面直接接port 不要空白

KDE 上的小畫家 Krita Sketch Release

Anonymous avatar
By Anonymous
at 2012-12-17T16:54
官網:http://krita.org/item/124-krita-on-the-go-krita-sketch 介紹文:http://timotheegiet.com/blog/illust/krita-sketch-release.html Krita Sketch 是用 QML 寫的專門給平板使用的 ...

ubuntu Mem 怎么不是4G?

Rae avatar
By Rae
at 2012-12-17T15:48
rootatyun-desktop:~# uname -a Linux yun-desktop 3.2.0-34-generic #53-Ubuntu SMP Thu Nov 15 10:48:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux rootatyun-desk ...

ubuntu開機停在5個點

Frederica avatar
By Frederica
at 2012-12-17T14:09
請問各位我ubuntu10.04.4開機時一直停在5個點的畫面 我按ctrl+alt+f1能進去指令模式 接下來我需要做什麼動作好讓我的系統回復成桌面板呢 謝謝您的回答 感謝!! -- - ...

HackingThursday 固定聚會 (2012-12-20)

Audriana avatar
By Audriana
at 2012-12-17T12:03
通告網址: [http://www.hackingthursday.org/invite][1] * * * 詳細資訊如下: * 時間: 每週四晚上 19:30 至 22:00 * 場地: MarketPlace ( [http://goo.gl/6wTio][2] ) * 地址: 台北市重 ...

如何設定同網域的兩個IP?

Anthony avatar
By Anthony
at 2012-12-17T10:42
感謝一些前輩的討論,我稍微在解釋清楚一點 我這邊舉的例子mask用16其實只是個範例,用24或者16其實都有一樣的現象 當你設定同網段時,例如port 1 = 192.168.1.1/24 port 2 = 192.168.1.2/24 在另一台機器(client)其實也是同時看的到這兩個IP 不論封包走哪 ...