Jump toUpdate content
How to connect to a Dedibox server
A common way of connecting to your Dedibox server is via the command line, using SSH. SSH is a secure communication protocol, which imposes an encryption key exchange at the beginning of the connection. This means that the exchange of data between the client and the server will be encrypted.
However, you may also connect to your server via a graphical interface such as Windows Remote Desktop.
You can also use FTP, SFTP or SCP to transfer data to and from your server.
- You have an account and are logged into the Dedibox Console
- You have created and uploaded your SSH key
- You have created and installed a dedicated server, and transferred your SSH key to the server during installation
How to connect via SSH
From OSX (Mac) and Linux
- Open a terminal program on your local machine.
- Enter the command below into the terminal. Make sure you replace
your_private_keywith the filename of your private key (often
usernamewith the username you defined when installing your server and
your_server_ipwith the IP address of your server.ssh -i ~/.ssh/your_private_key username@your_server_ip
- If / when prompted, allow connection to the host by typing
yes, then press Enter.The authenticity of host 'myhost.ext (18.104.22.168)' cannot be established.RSA key fingerprint is 4f:ba:65:cf:14:64:a7:1e:b6:07:7c:00:71:95:21:fa.Are you sure you want to continue connecting (yes/no)?
To connect to your server from Windows, you will need to use a small application called PuTTy, an SSH client.
Download and install PuTTy here
Launch PuTTy on your computer. The main screen of the application displays:
Enter your server’s IP address in the Hostname field.Tip:
You can find the IP address of your server in the management console
In the side menu, under Connection navigate to the Auth sub-category. Do this by expanding Connection, then SSH and finally clicking on Auth:
Click the Browse button and select the private key file you generated previously.
Click Open at the bottom of the screen to open a connection to the server. Upon the first connection, PuttY asks you to allow the connection to the host.
Click OK to confirm.
The terminal window diplays.
Enter your username and password to authenticate against the server with your SSH key.
You are now connected to your server.
How to connect via Remote Desktop
The following steps show you how to connect to your Dedibox on which you have installed Windows Server, from your local Windows machine.
Open the Remote Desktop Connection tool on your local Windows machine.
Click the drop-down arrow next to Show connections.
Enter the following information:
- In Computer, enter the IP address of your Dedibox server (e.g. 163.172.20.01).
- In Username, for a Windows Server type Administrateur.
Click Connect. You are prompted to enter a password.
Enter the password that you set during installation of your Dedibox Windows Server machine, and click OK.
You may be asked to confirm that you want to connect. Click Yes.
You are connected to the graphical interface of your Windows Server. If you need to change the language, refer to the appropriate how-to
How to transer data to your server
As well as connecting to your server’s terminal, you may also want to transfer data to and from your server. Here are two ways you can do this.
SFTP, or Secure File Transfer Protocol, is basically FTP in a SSH tunnel. You can use the graphical client Filezilla to easily transfer data to and from your server via SFTP.
Download and install Filezilla on your local machine.
Open Filezilla and navigate to File > Site Manager.
Enter the following information:
- Protocol: SFTP
- Host: The IP address of your server
- Port: 22
- User: Your username
- Key file: The location of your private key file
You are connected to your Dedibox server, and can use the graphical interface to transfer files between your server and your local machine. See Filezilla’s official documentation for further help with using Filezilla.
SCP, or Secure Copy, is a way to securely transfer files between two machines using a UNIX terminal. SCP also uses SSH for security.
- Open a terminal on your local machine.
- Enter the following command:
scp file username@ipaddress:DestinationDirectory
Ensure you make the following replacements:
Replace file with the filepath of the file you want to transfer.
Replace username with your own username
Replace ipaddress with the IP address of your Dedibox server.
Replace DestinationDirectory with the filepath on your Dedibox server you want to transfer the file to.
For example, the file
config.txt to the directory
/home/toto/prog on the server, you will run the following command:
scp config.txt email@example.com.***.***:/home/toto/prog/
scp config.txt firstname.lastname@example.org.***.***:prog/