Difference between revisions of "Ssh-keygen -p"
Jump to navigation
Jump to search
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | -p Requests changing the passphrase of a private key file | + | {{lowercase}} |
+ | -p Requests changing the [[passphrase]] of a [[private key]] file | ||
instead of creating a new private key. The program will | instead of creating a new private key. The program will | ||
prompt for the file containing the private key, for the old | prompt for the file containing the private key, for the old | ||
passphrase, and twice for the new passphrase. | passphrase, and twice for the new passphrase. | ||
− | + | * <code>ssh-keygen -p -f [[~/.ssh/id_rsa]]</code> | |
== Related terms == | == Related terms == | ||
* <code>[[passwd]]</code> | * <code>[[passwd]]</code> | ||
+ | * [[Encryption]] | ||
+ | * [[Kolide]]: [[Unencrypted SSH Key Detected]] | ||
== See also == | == See also == | ||
* {{ssh-keygen}} | * {{ssh-keygen}} | ||
+ | |||
+ | [[Category:ssh-keygen]] |
Latest revision as of 13:45, 11 October 2024
-p Requests changing the passphrase of a private key file instead of creating a new private key. The program will prompt for the file containing the private key, for the old passphrase, and twice for the new passphrase.
ssh-keygen -p -f ~/.ssh/id_rsa
Related terms[edit]
See also[edit]
ssh-keygen
[-R
,-t
|-p
|-i
|-y | -f | ~/.ssh/id_rsa
|--help ] ~/.ssh/known_hosts
Advertising: