Table of Contents
Connecting to your Classic mode server via SSH
Once your VPS has been created, you will have access to it via SSH. Administrative tasks must be performed by this type of connection as long as your server has an IP Address and is operational.
If your IP address is 123.123.123.123
and if you want to access your server via SSH, then you would use the following command:
ssh login@123.123.123.123
Replace the word login
in the above examples by the username that you specified when you created your server.
The password that you provide will be the one that you chose for this username.
Root login
For security reasons, we have deactivated the ability to log in directly as root to your server via SSH. To log in as root, you first need to log in as the user that you defined when you created your server. Then, once you are logged in, type:
su -
The password is the one that you specified when you created your Gandi expert server, or that you defined when you activated "root" access when leaving Gandi AI.
Although it is technically possible on some distributions (excluding Debian) to disable the root login restrictions and allow direct SSH connections as the root user (ssh root@server
), this method alone is NOT recommended.
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
Please see for additional information: