1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| nj:~ nj$ cd ~/.ssh nj:.ssh nj$ ls id_rsa id_rsa.pub known_hosts nj:.ssh nj$ ssh-keygen -t rsa -C "iMac_personnal_publicKey" Generating public/private rsa key pair. Enter file in which to save the key (/Users/nj/.ssh/id_rsa): /Users/nj/.ssh/id_rsa_personal Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/nj/.ssh/id_rsa_personal. Your public key has been saved in /Users/nj/.ssh/id_rsa_personal.pub. The key fingerprint is: SHA256:1gepuxDHwJRnFbKvc0Zq/NGrFGE9kEXS06jxatPPrSQ iMac_personnal_publicKey The key's randomart image is: +---[RSA 2048]----+ | ....=*oo | | o. ooo=+ . | | oo. =+o. | | o =.o.. | | . S =o. | | = =++. | | . B.=.Eo.. | | o B . +o .| | . o.. .. | +----[SHA256]-----+ njdeiMac:.ssh nj$ ls id_rsa id_rsa_personal known_hosts id_rsa.pub id_rsa_personal.pub`
|