Why using SSH keys?When connecting a remote server, it may be preferable to use SSH keys, which provide a more secure form of remote communication.SSH keys make it possible to securely connect to servers without having to type password every time.Method 1: Using ssh-keygenGenerate the SSH keys on your local machineOn your local machine terminal, run:ssh-keygen -t rsa -b 2048You will be prompted to choose a passphrase for the keys as following. Please be sure to enter a passphrase. This is the password that will protect your keys. It can be a sentence with spaces between the words. Be sure to u
...
继续阅读
(71)