Re: [問題] ssh如何使root可用金鑰登入?
※ 引述《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
推
03/16 23:45, , 1F
03/16 23:45, 1F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
Linux 近期熱門文章
21
56
PTT數位生活區 即時熱門文章