Security

An administrator protects an SSH private key with a passphrase and connects to many servers each day. Typing the passphrase for every connection is slowing the work, and the key must stay protected on disk. What should the administrator do?

Show the answer

Correct answerA. Start ssh-agent and load the private key into it with ssh-add

ssh-agent holds the decrypted private key in memory after one ssh-add, so later connections need no passphrase while the file stays encrypted. Loading the public key is wrong because the agent stores private keys to sign challenges.