If you are new to the Linux shell, check out our Linux command line tutorial.
How to connect to a Dedibox server
This guide provides instructions on connecting to your Scaleway Dedibox server using SSH (for Linux, macOS, and Windows) or Remote Desktop (for Windows Server).
Before you start
To complete the actions presented below, you must have:
- A Dedibox account logged into the console
- Created and uploaded your SSH key
- Created and installed a dedicated server and transferred your SSH key to the server during installation
Connecting via SSH
For macOS and Linux users
-
Open the terminal on your local machine.
-
Enter the command below, replacing
your_private_key
with the private key filename (typicallyid_rsa
),username
with the defined username, andyour_server_ip
with your server’s IP address:ssh -i ~/.ssh/your_private_key username@your_server_ip -
If prompted, confirm the connection by typing
yes
and pressing Enter:The authenticity of host 'myhost.ext (212.47.226.35)' 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)? -
You are now connected to your server.
Tip
For Windows users
To connect to your server from Windows, use the PuTTY SSH client.
-
Launch PuTTY on your computer.
-
Enter your server’s IP address in the Hostname field.
TipYou can find your server’s IP address in the Dedibox management console.
-
In the side menu, navigate to Connection > SSH > Auth.
-
Click Browse and select your private key file.
-
Click Open to start the connection. When prompted, confirm the connection to the host.
-
Enter your username and password to authenticate using your SSH key.
You are now connected to your server.
TipNew to the Linux shell? Explore our Linux command line tutorial.
Connecting via Remote Desktop
If you have installed Windows Server on your Dedibox, follow these steps to connect using Remote Desktop:
- Open Remote Desktop Connection on your local Windows machine.
- Enter the IP address of your Dedibox server in the Computer field.
- In the Username field, enter
Administrateur
(for Windows Server). - Click Connect and enter the password set during the server installation.
- Confirm the connection if prompted.
You are now connected to the Windows Server graphical interface. For language settings, refer to the Windows Server language change guide.
Transferring data to your server
You can transfer files to and from your Dedibox server using SFTP or SCP.
Using SFTP with FileZilla
- Download and install FileZilla on your local machine.
- Open FileZilla and navigate to File > Site Manager.
- Enter the following details:
- Protocol: SFTP
- Host: Your server’s IP address
- Port: 22
- User: Your username
- Key file: Your private key file location
- Click Connect to start transferring files.
Using SCP in a terminal
-
Open a terminal on your local machine.
-
Use the following command:
scp file username@ipaddress:/DestinationDirectoryReplace:
- file: Path of the file to transfer
- username: Your username
- ipaddress: Server IP address
- /DestinationDirectory: Destination path on the server
For example:
scp config.txt toto@62.210.***.***:/home/toto/prog/