Difference between revisions of "Ssh-keygen -t rsa"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
Generating public/private rsa key pair. | Generating public/private rsa key pair. | ||
Enter file in which to save the key (/Users/YOUR_USER/[[.ssh/id_rsa]]): | Enter file in which to save the key (/Users/YOUR_USER/[[.ssh/id_rsa]]): | ||
+ | Enter passphrase (empty for no passphrase): | ||
+ | Enter same passphrase again: | ||
+ | Your identification has been saved in /Users/YOUR_USER/.ssh/id_rsa | ||
+ | Your public key has been saved in /Users/YOUR_USER/.ssh/[[id_rsa.pub]] | ||
+ | The key fingerprint is: | ||
+ | [[SHA256]]:ViVROMPZl6BiB6B15FlPjk6TUx8Nxxxxxxx YOUR_USER@YOUR_hostname | ||
+ | The key's randomart image is: | ||
+ | +---[RSA 3072]----+ | ||
+ | | xx+.+**.o+ | | ||
+ | | o o +*@.oo..| | ||
+ | | . = XX+.+ | | ||
+ | | . * o + . | | ||
+ | | S . =.+| | ||
+ | | . . B+| | ||
+ | | . =| | ||
+ | | Eo=| | ||
+ | | .=.| | ||
+ | +----[SHA256]-----+ | ||
Revision as of 14:35, 31 March 2022
ssh-keygen -t rsa
ssh-keygen -t rsa -f your_new_rsa_key
ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/Users/YOUR_USER/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/YOUR_USER/.ssh/id_rsa Your public key has been saved in /Users/YOUR_USER/.ssh/id_rsa.pub The key fingerprint is: SHA256:ViVROMPZl6BiB6B15FlPjk6TUx8Nxxxxxxx YOUR_USER@YOUR_hostname The key's randomart image is: +---[RSA 3072]----+ | xx+.+**.o+ | | o o +*@.oo..| | . = XX+.+ | | . * o + . | | S . =.+| | . . B+| | . =| | Eo=| | .=.| +----[SHA256]-----+
See also
ssh-keygen
[-R
,-t
|-p
|-i
|-y | -f | ~/.ssh/id_rsa
|--help ] ~/.ssh/known_hosts
Advertising: