# 5 SSH Agent Best Practices

DevFeed: [5 SSH Agent Best Practices](<https://devfeed.tech/articles/5-ssh-agent-best-practices-29696.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/how-to-use-ssh-agent-safely/>)

Author: info@goteleport.com (Nicole Chelly)

Published: 2022-01-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [ssh](<https://devfeed.tech/topics/ssh.md>), [Security](<https://devfeed.tech/topics/security.md>), [private key](<https://devfeed.tech/topics/private-key.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [linux](<https://devfeed.tech/tags/linux.md>), [pitfalls](<https://devfeed.tech/tags/pitfalls.md>), [private-key](<https://devfeed.tech/tags/private-key.md>), [security](<https://devfeed.tech/tags/security.md>), [server](<https://devfeed.tech/tags/server.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

## AI overview

This article explains security risks associated with SSH agents, especially unattended terminals and SSH agent forwarding through bastion or jump servers. It recommends hardening practices such as setting timeouts and removing unused keys.

## Source excerpt

In this article, you'll learn how to avoid potential SSH agent pitfalls and recommend best practices to keep your SSH agent secure.