温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.ssh.com/academy/ssh/passphrase
点击访问原文链接

What is Passphrase & How to Use It?

What is Passphrase & How to Use It? Skip to content Products Show submenu for Products Products PrivX Privileged Access and Secrets Management Privileged Access Management Secure Remote Access for OT SSH Key Manager Tectia Secure File Transfer SSH Server SSH Client SSH Server for z/OS Encryption NQX Quantum-Safe Encryption FQX File Encryptor SalaX Secure Collaboration Secure Mail Secure Messaging Solutions Show submenu for Solutions Solutions Zero Trust Zero Trust Secrets Management Secrets Management Just-in-Time / Ephemeral Access Just-in-Time / Ephemeral Access Vendor Remote Access Vendor Remote Access Operational Technology Operational Technology Audit and Compliance Audit and Compliance Quantum Readiness Quantum Readiness Identity Security Identity Security Secure Collaboration Secure Collaboration Cloud Access Management /Hybrid Cloud Cloud Access Management /Hybrid Cloud Secure File Transfer Secure File Transfer Resources Show submenu for Resources Resources Content Library Blog SSH Academy Press Releases Case Studies Report a Vulnerability Company Show submenu for Company Company About Us Partners Investors Careers Customer Support Products Show submenu for Products Products PrivX Privileged Access and Secrets Management Privileged Access Management Secure Remote Access for OT SSH Key Manager Tectia Secure File Transfer SSH Server SSH Client SSH Server for z/OS Encryption NQX Quantum-Safe Encryption FQX File Encryptor SalaX Secure Collaboration Secure Mail Secure Messaging Solutions Show submenu for Solutions Solutions Zero Trust Zero Trust Secrets Management Secrets Management Just-in-Time / Ephemeral Access Just-in-Time / Ephemeral Access Vendor Remote Access Vendor Remote Access Operational Technology Operational Technology Audit and Compliance Audit and Compliance Quantum Readiness Quantum Readiness Identity Security Identity Security Secure Collaboration Secure Collaboration Cloud Access Management /Hybrid Cloud Cloud Access Management /Hybrid Cloud Secure File Transfer Secure File Transfer Resources Show submenu for Resources Resources Content Library Blog SSH Academy Press Releases Case Studies Report a Vulnerability Company Show submenu for Company Company About Us Partners Investors Careers Customer Support Get in touch
What is Passphrase & How to Use It?

 

Contents What is Passphrase? It Should Be Hard to Guess Protecting a Private Key Protecting SSH keys PGP / GPG Private Key Protection What is Passphrase?

A passphrase is similar to a password. However, a password generally refers to something used to authenticate or log into a system. A passphrase generally refers to a secret used to protect an encryption key. Commonly, an actual encryption key is derived from the passphrase and used to encrypt the protected resource.

It Should Be Hard to Guess

A good passphrase should have at least 15, preferably 20 characters and be difficult to guess. It should contain upper case letters, lower case letters, digits, and preferably at least one punctuation character. No part of it should be derivable from personal information about the user or his/her family.

Sometimes there is a need to generate random passwords or phrases automatically

Protecting a Private Key

The purpose of the passphrase is usually to encrypt the private key. This makes the key file by itself useless to an attacker. It is not uncommon for files to leak from backups or decommissioned hardware, and hackers commonly exfiltrate files from compromised systems.

To use an encrypted key, the passphrase is also needed. In a way, they are two separate factors of authentication.

Protecting SSH keys

SSH keys are used for authenticating users in information systems. The SSH keys themselves are private keys; the private key is further encrypted using a symmetric encryption key derived from a passphrase. The key derivation is done using a hash function.

Passphrases are commonly used for keys belonging to interactive users. Their use is strongly recommended to reduce risk of keys accidentally leaking from, e.g., backups or decommissioned disk drives.

In practice, however, most SSH keys are without a passphrase. There is no human to type in something for keys used for automation. The passphrase would have to be hard-coded in a script or stored in some kind of vault, where it can be retrieved by a script. An attacker with sufficient privileges can easily fool such a system. Thus, there would be relatively little extra protection for automation.

More than 90% of all SSH keys in most large enterprises are without a passphrase. However, this depends on the organization and its security policies.

Use of proper SSH key management tools is recommended to ensure proper access provisioning and termination processes, regularly changing keys, and regulatory compliance.

SSH keys can be generated with tools such as ssh-keygen and PuTTYgen. These tools ask for a phrase to encrypt the generated key with.

 

PGP / GPG Private Key Protection

Private keys used in email encryption tools like PGP are also protected in a similar way. Such applications typically use private keys for digital signing and for decrypting email messages and files.

Solutions Zero Trust Secrets Management Just-in-Time/ Ephemeral Access Vendor Remote Access Operational Technology Audit and Compliance Quantum Readiness Identity Security Cloud Access Management/Hybrid Cloud Secure Collaboration Secure File Transfer Industries Healthcare Government MSPs Products PrivX Privileged Access and Secrets Management Privileged Access Management (PAM) Secure Remote Access for OT SSH Key Management Encryption NQX Quantum-Safe Encryption FQX File Encryption Tectia Secure File Transfer SSH Server SSH Client SSH Server for z/OS SalaX Secure Collaboration Secure Mail Secure Messaging Company About Us Partners Investors Careers Resources Talk to a security expert Support Product documentation Contact Us

Privacy Policy  |  Terms and Conditions

2026 © Copyright SSH

What is Passphrase & How to Use It?,AI智能索引,全网链接索引,智能导航,网页索引

    A passphrase generally refers to a secret used to protect an encryption key. A good passphrase should have at least 15, preferably 20 characters.