ssh如何使root可用金鑰登入? - Linux

Table of Contents

小弟參考鳥哥資料好久,終於設好金鑰可以將root

不需密碼的情況下登入另一台server,

但小弟又希望不要將PermitRootLogin設成no

一但設成no,即使有金鑰也無法用root登入...

請問有其他解決方法嗎?....

--

All Comments

Suhail Hany avatarSuhail Hany2010-03-21
沒有
Hardy avatarHardy2010-03-23
設yes, 然後把密碼設成天殺長 xDa
Xanthe avatarXanthe2010-03-23
sudo 不行嗎?