encyclopegia.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 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.

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 · retrieved 2026-11-18 · rev 1305277924
    Cite this reference

    MLA ""Understand SSH passphrases . microsoft.com . 4 October 2022. Retrieved 28 February 2025. Wikipedia revision 1305277924, retrieved 2026-11-19." "Understand SSH passphrases. 2026-11-18. https://learn.microsoft.com/en-us/azure/devops/repos/git/gcm-ssh-passphrase?view=azure-devops. Accessed 24 November 2026.

    Chicago ""Understand SSH passphrases . microsoft.com . 4 October 2022. Retrieved 28 February 2025. Wikipedia revision 1305277924, retrieved 2026-11-19." "Understand SSH passphrases. 2026-11-18. https://learn.microsoft.com/en-us/azure/devops/repos/git/gcm-ssh-passphrase?view=azure-devops.

    APA "Understand SSH passphrases. (2026). "Understand SSH passphrases . microsoft.com . 4 October 2022. Retrieved 28 February 2025. Wikipedia revision 1305277924, retrieved 2026-11-19. Retrieved November 24, 2026, from https://learn.microsoft.com/en-us/azure/devops/repos/git/gcm-ssh-passphrase?view=azure-devops

  2. SSHKeychain Warning · retrieved 2026-11-18 · rev 1305277924
    Cite this reference

    MLA "SSHKeychain Warning." Dribin, Dave (21 August 2007). 2026-11-18. http://www.dribin.org/dave/blog/archives/2007/08/21/sshkeychain/. Accessed 24 November 2026.

    Chicago "SSHKeychain Warning." Dribin, Dave (21 August 2007). 2026-11-18. http://www.dribin.org/dave/blog/archives/2007/08/21/sshkeychain/.

    APA Dribin, Dave (21 August 2007). (2026). SSHKeychain Warning. Retrieved November 24, 2026, from http://www.dribin.org/dave/blog/archives/2007/08/21/sshkeychain/

  3. What's new for the Command Line in Windows 10 version 1803 · retrieved 2026-11-18 · rev 1305277924
    Cite this reference

    MLA "What's new for the Command Line in Windows 10 version 1803." Durr, Yosef (8 March 2018). 2026-11-18. https://devblogs.microsoft.com/commandline/windows10v1803/. Accessed 24 November 2026.

    Chicago "What's new for the Command Line in Windows 10 version 1803." Durr, Yosef (8 March 2018). 2026-11-18. https://devblogs.microsoft.com/commandline/windows10v1803/.

    APA Durr, Yosef (8 March 2018). (2026). What's new for the Command Line in Windows 10 version 1803. Retrieved November 24, 2026, from https://devblogs.microsoft.com/commandline/windows10v1803/

  4. Using the OpenSSH Beta in Windows 10 Fall Creators Update and Windows Server 1709 · retrieved 2026-11-18 · rev 1305277924
    Cite this reference

    MLA "Using the OpenSSH Beta in Windows 10 Fall Creators Update and Windows Server 1709." Aiello, Joey (15 December 2017). 2026-11-18. https://devblogs.microsoft.com/powershell/using-the-openssh-beta-in-windows-10-fall-creators-update-and-windows-server-1709/. Accessed 24 November 2026.

    Chicago "Using the OpenSSH Beta in Windows 10 Fall Creators Update and Windows Server 1709." Aiello, Joey (15 December 2017). 2026-11-18. https://devblogs.microsoft.com/powershell/using-the-openssh-beta-in-windows-10-fall-creators-update-and-windows-server-1709/.

    APA Aiello, Joey (15 December 2017). (2026). Using the OpenSSH Beta in Windows 10 Fall Creators Update and Windows Server 1709. Retrieved November 24, 2026, from https://devblogs.microsoft.com/powershell/using-the-openssh-beta-in-windows-10-fall-creators-update-and-windows-server-1709/

  5. How to create SSH keys on Windows 10 · retrieved 2026-11-18 · rev 1305277924
    Cite this reference

    MLA "How to create SSH keys on Windows 10." Neumann, Saggi (3 May 2021). 2026-11-18. https://sftptogo.com/blog/how-to-create-ssh-keys-on-windows-10/. Accessed 24 November 2026.

    Chicago "How to create SSH keys on Windows 10." Neumann, Saggi (3 May 2021). 2026-11-18. https://sftptogo.com/blog/how-to-create-ssh-keys-on-windows-10/.

    APA Neumann, Saggi (3 May 2021). (2026). How to create SSH keys on Windows 10. Retrieved November 24, 2026, from https://sftptogo.com/blog/how-to-create-ssh-keys-on-windows-10/

Cite this article

MLA

"Ssh-agent." encyclopegia.org, 2025, https://encyclopegia.org/wiki/ssh-agent. Accessed 24 November 2026.

Chicago

"Ssh-agent." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/ssh-agent.

APA

encyclopegia.org. (2025). Ssh-agent. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/ssh-agent

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Geography of England

enwiki · references available

New Southgate

enwiki · references available

Centrifugal casting (silversmithing)

enwiki · references available

Peterborough railway station

enwiki · references available

Alcohol advertising

enwiki · references available

Pip Pyle

enwiki · references available

List of Soviet Air Force bases

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1305277924 · 0.5 · snapshot enwiki-001305277924

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.