e01.org

Ssh-agent

Secure Shell (SSH) is a protocol allowing secure remote login to a computer on a network using public-key cryptography. SSH client programs (such as ssh from OpenSSH) typically run for the duration of a remote login session and are configured to look for the user's private key in a file in the user's home directory (e.g., .ssh/id_rsa ). For added security (for instance, against an attacker that can read any file on the local filesystem), it is common to store the private key in an encrypted form, where the encryption key is computed from a passphrase that the user has memorized. Because typing the passphrase can be tedious, many users would prefer to enter it just once per local login session. The most secure place to store the unencrypted key is in program memory, and in Unix-like operating systems, memory is normally associated with a process. A normal SSH client process cannot be used to store the unencrypted key because SSH client processes only last the duration of a remote...

Secure Shell (SSH) is a protocol allowing secure remote login to a computer on a network using public-key cryptography. SSH client programs (such as ssh from OpenSSH) typically run for the duration of a remote login session and are configured to look for the user's private key in a file in the user's home directory (e.g., .ssh/id_rsa ). For added security (for instance, against an attacker that can read any file on the local filesystem), it is common to store the private key in an encrypted form, where the encryption key is computed from a passphrase that the user has memorized. Because typing the passphrase can be tedious, many users would prefer to enter it just once per local login session. The most secure place to store the unencrypted key is in program memory, and in Unix-like operating systems, memory is normally associated with a process. A normal SSH client process cannot be used to store the unencrypted key because SSH client processes only last the duration of a remote login session. Therefore, users run a program called ssh-agent that runs beyond the duration of a local login session, stores unencrypted keys in memory, and communicates with SSH clients using a Unix domain socket. ===Microsoft Windows=== OpenSSH-based client and server programs have been included in Windows 10 since version 1803. The SSH client and key agent are enabled and available by default and the SSH server is an optional Feature-on-Demand.

References

  1. ^ "Understand SSH passphrases . microsoft.com . 4 October 2022. Retrieved 28 February 2025. Wikipedia revision 1305277924, retrieved 2026-11-19 · 1795042800.0
  2. ^ Dribin, Dave (21 August 2007). "SSHKeychain Warning" . Dave Dribin's Blog . Wikipedia revision 1305277924, retrieved 2026-11-19 · 1795042800.0
  3. ^ Durr, Yosef (8 March 2018). "What's new for the Command Line in Windows 10 version 1803" . 2025-02-28 . Wikipedia revision 1305277924, retrieved 2026-11-19 · 1795042800.0
  4. ^ Aiello, Joey (15 December 2017). "Using the OpenSSH Beta in Windows 10 Fall Creators Update and Windows Server 1709" . Retrieved 28 February 2025 . Wikipedia revision 1305277924, retrieved 2026-11-19 · 1795042800.0
  5. ^ Neumann, Saggi (3 May 2021). "How to create SSH keys on Windows 10" . Retrieved 28 February 2025 . Wikipedia revision 1305277924, retrieved 2026-11-19 · 1795042800.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Ssh-agent". 1754875956. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1305277924

JSON record · API collection · citation policy