1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| ssh-keygen //一直回车即可
Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: SHA256:LhCYaJYje+wUpUtWC/B90v3gQtuahat5RbvkMqekqi4 root@lixianglin The key's randomart image is: +---[RSA 2048]----+ |... o | | o.O o . | |o=O = + o | |+=.o = =.o | |. = . +.S.. | | + . B+ | | . *+.. | |E =+.+ | |+o..+..= | +----[SHA256]-----+
|