After deploying a new cloud server you’ll need to pick a method for connecting to it. This guide outlines your options for remote connection and the differences between them. Whether you chose to receive the server password via email, SMS or in the UpCloud Control Panel only, get your password ready and read ahead.
The primary way of connecting to a Linux server should be using an SSH client.
Unix systems include OpenSSH that you can use directly through your local terminal. Using OpenSSH to log in with is very simple, the single command to start a connection consists of 3 parts, the application command ssh, your username, and your remote host.
Open a terminal and type in the command below to log in using the root account. Replace the <remote-host> with the public IP of your server. Enter your root password when prompted.
ssh [email protected]<remote-host>
Windows users do not have a built-in solution for SSH, but there are options for Windows as well. PuTTYTray is one of the most commonly used SSH clients for Windows. It’s easy to get started with, but also offers a lot of features for advanced users.
Download the self-contained executable and simply run it as is, no installation needed. Enter your server public IP address to the Hostname field and click the Open button. Once connected, log in with the root user and password.
After connecting to your new cloud server for the first time it’s recommended to create a new username for yourself and to disable root SSH login. Check out our article for Managing Linux User Account Security to learn more. You might also want to take a look at Using SSH-keys For Authentication instead of a regular password.
UpCloud also offers an optional VNC console access using your choice of VNC client. To enable VNC connection, log in to your UpCloud Control Panel and open your Server settings. On the first tab in General settings click on the VNC console settings under Server Management panel on the left.
This opens your server’s VNC connection settings and details. By default VNC service is disabled on new servers, select Enabled from the first drop down menu to turn it on. Underneath of that, you will find the connection details for your server. Here is also where you can define the password for a VNC connection. Once done click the Accept button to save the changes before connecting with your VNC client.
Some VNC clients only ask for the hostname of your server without a second field for the port number, simply enter both the VNC address and VNC port together separated with “:” sign.
The third option is to use HTML5 based web Console through your UpCloud Control Panel with no browser extensions or setup required. Although you probably want to use SSH primarily, this is a useful addition in case of faulty firewall rules, OS error state or any other reason that prevents the usual access methods.
Open your Server settings and go to the Console -tab. Then simply click the button on the left to Open the console connection. Log in using root or your account name and password.
Regardless of the server settings or network connection state, you should always be able to connect to a running server with the web Console.