![]() You can press enter, which saves the file to the default location, in your home directory. Once you have entered the keygen command, you will get questioned: Enter file in which to save the key ( /home/simon/.ssh/id_rsa): ![]() ![]() The first step is to create the key pair on your local machine (if your on windows you are going to have to research now to generate a key): ssh-keygen -t rsa Password based authentication is vulnerable to brute force attack, where SSH key pairs are nearly impossible to decipher (I say nearly as weaker keys are still susceptible to attack) Step One-Create the RSA Key Pair The only save way to connect to your DigitalOcean server or any server is via public key authentication, OpenSSH is the standard tools used and OpenSSH server comes as standard on all provided DigitalOcean operating Systems.
0 Comments
Leave a Reply. |