Connecting to your expert server with SSH key authentication

It is possible to connect to your expert VPS using SSH keyfiles.

It's not always easy to maintain both good password practices and your sanity. SSH keys encrypt the authentication, and can even obviate the need to type a password, unless you want to.

Now, when creating VPS Server in Expert mode (though not with Gandi AI), you can choose from three methods of authentication:

  • password
  • SSH key
  • Both SSH Key and Password

ssh_key_selection.jpg

Having provided your public key during the creation of your expert server, you will then be able to log in with the following command (replacing 123.123.123.123 with your server's IP):

ssh root@123.123.123.123

The only requirement for keeping the connection secure is that you maintain the security of the private key file. You can add to this by adding a passphrase to the key when you create it, but that is up to you.

It is not possible (at least for the moment) to connect to the emergency console using an SSH key.

You may choose to connect using a password, an SSH key, or both.

Using the SSH key only, you will be able to connect to your VPS using the root user direclty, then you have to configure the passwords for each user including root (without root password, if an issue occurs, you won't be able to connect to your VPS using the emergency console).

See also

Last modified: 01/16/2013 at 15:57 by Emerick M. (Gandi)