推 kmanchang:謝謝前輩指導... 03/16 23:45
※ 引述《kmanchang (達叔)》之銘言:
: 小弟參考鳥哥資料好久,終於設好金鑰可以將root
: 不需密碼的情況下登入另一台server,
: 但小弟又希望不要將PermitRootLogin設成no
: 一但設成no,即使有金鑰也無法用root登入...
: 請問有其他解決方法嗎?....
PermitRootLogin yes
RSAAuthentication yes
PubkeyAuthentication yes
PasswordAuthentication yes
Match User root
PasswordAuthentication no
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.218.82