Difference between revisions of "Ssh-keygen -p"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | -p Requests changing the [[passphrase]] of a [[private key | + | {{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> | + | * <code>ssh-keygen -p -f [[~/.ssh/id_rsa]]</code> |
== Related terms == | == Related terms == |
Latest revision as of 08:28, 21 September 2023
-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: