Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.31 KB

gcm-ssh-passphrase.md

File metadata and controls

30 lines (22 loc) · 1.31 KB
title titleSuffix description ms.custom ms.assetid ms.service ms.topic ms.date monikerRange ms.subservice
Understand SSH passphrases
Azure Repos
Learn the benefits and downside of using SSH passphrases.
kr2b-contr-experiment
266f5d0e-78b9-4911-9bdf-ab509f17ff23
azure-devops-repos
conceptual
11/13/2020
<= azure-devops
azure-devops-repos-git

SSH passphrases

[!INCLUDE version-lt-eq-azure-devops]

SSH uses private/public key pairs to protect your communication with the server. SSH passphrases protect your private key from being used by someone who doesn't know the passphrase. Without a passphrase, anyone who gains access to your computer has the potential to copy your private key. For example, family members, coworkers, system administrators, and hostile actors could gain access.

A secure passphrase helps keep your private key from being copied and used even if your computer is compromised.

The downside to passphrases is that you need to enter it every time you create a connection using SSH. You can temporarily cache your passphrase using ssh-agent so you don't have to enter it every time you connect.

Related articles