Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?
A.
sshd
B.
ssh-agent
C.
ssh-keygen
D.
ssh-add
題解
選項 A,「sshd」是 SSH 伺服器的常駐程式。
選項 B,「ssh-agent」指令可以保存公開金鑰認證所使用的私密金鑰,讓 ssh 登入其他主機時能自動使用這些金鑰來認證。為正確答案。
選項 C,「ssh-keygen」指令用來產生 SSH 金鑰。
選項 D,「ssh-add」指令可以新增私有金鑰提供給 SSH 使用。
