« Back to SSH: Frequently Asked Questions

What is the purpose of the SSH agent?

This article has last been updated at .

What is the purpose of the SSH agent?

The SSH agent is a helper utility to temporarily store private keys when using public key authentication. It acts as an authentication agent for clients such as the ssh command.

The ssh-agent command starts the SSH agent, a helper utility to store private keys when using public key authentication. The ssh-agent process is usually started at the the beginning of a login session and then can be connected to by a SSH client. Clients can detect the environment variable named SSH_AUTH_SOCK.

Other questions related to SSH

Feedback

Small picture of Michael Boelen

This article has been written by our Linux security expert Michael Boelen. With focus on creating high-quality articles and relevant examples, he wants to improve the field of Linux security. No more web full of copy-pasted blog posts.

Discovered outdated information or have a question? Share your thoughts. Thanks for your contribution!

Mastodon icon

Related articles

Like to learn more? Here is a list of articles within the same category or having similar tags.