ssh-keygen -t rsa -C "qinjiangbo" Generating public/private rsa key pair. Enter file inwhich to save the key (/Users/Richard/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/Richard/.ssh/id_rsa. Your public key has been saved in /Users/Richard/.ssh/id_rsa.pub. The key fingerprint is: SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx qinjiangbo The key's randomart image is: +---[RSA 2048]----+ | .. .oB==. | | .o ..==+.B | | oo.. o+oo= * | | . .+ ..+oB E . | | . .o. S* = = | | + . . * | | . o . . . | | . | | | +----[SHA256]-----+ cat /Users/Richard/.ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1xxxxxxxxxxxxxxxxxxxxxxxUZDXD qinjiangbo