ssh-keygen -t rsa
http://man7.org/linux/man-pages/man1/ssh-keygen.1.html
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]-----+
Related[edit]
See also[edit]
ssh-keygen
[-R
,-t
|-p
|-i
|-y | -f | ~/.ssh/id_rsa
|--help ] ~/.ssh/known_hosts
- Public-key cryptography: RSA, DSA, ECDSA, EdDSA (Ed25519), AES, RSA Conference, hash,
pkeyutl
, Signature, key length, Easyrsa, OAEP, Ron Rivest, Adi Shamir, Leonard Adleman
Advertising: