NavigationContentFooter
Jump toSuggest an edit

How to connect to a Dedibox server

Reviewed on 19 August 2024Published on 11 June 2021

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

  1. Open the terminal on your local machine.

  2. Enter the command below, replacing your_private_key with the private key filename (typically id_rsa), username with the defined username, and your_server_ip with your server’s IP address:

    ssh -i ~/.ssh/your_private_key username@your_server_ip
  3. 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)?
  4. You are now connected to your server.

    Tip

    If you are new to the Linux shell, check out our Linux command line tutorial.

For Windows users

To connect to your server from Windows, use the PuTTY SSH client.

  1. Download and install PuTTY.

  2. Launch PuTTY on your computer.

  3. Enter your server’s IP address in the Hostname field.

    Tip

    You can find your server’s IP address in the Dedibox management console.

  4. In the side menu, navigate to Connection > SSH > Auth.

  5. Click Browse and select your private key file.

  6. Click Open to start the connection. When prompted, confirm the connection to the host.

  7. Enter your username and password to authenticate using your SSH key.

    You are now connected to your server.

    Tip

    New 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:

  1. Open Remote Desktop Connection on your local Windows machine.
  2. Enter the IP address of your Dedibox server in the Computer field.
  3. In the Username field, enter Administrateur (for Windows Server).
  4. Click Connect and enter the password set during the server installation.
  5. 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

  1. Download and install FileZilla on your local machine.
  2. Open FileZilla and navigate to File > Site Manager.
  3. Enter the following details:
    • Protocol: SFTP
    • Host: Your server’s IP address
    • Port: 22
    • User: Your username
    • Key file: Your private key file location
  4. Click Connect to start transferring files.

Using SCP in a terminal

  1. Open a terminal on your local machine.

  2. Use the following command:

    scp file username@ipaddress:/DestinationDirectory

    Replace:

    • 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/
See also
How to install a serverHow to get started with your server
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2024 – Scaleway