Linux generates SSH public key

Linux generates SSH public key

1. Run ssh-keygen -t rsa -C "[email protected] "

[email protected] is your own mailbox,
follow the prompts and press Enter three times to generate the ssh key.

2. Cat ~/.ssh/id_rsa.pub file content, get your public key

insert image description here

Guess you like

Origin blog.csdn.net/qq_28413435/article/details/83018194