Base de conhecimento

1000 perguntas frequentes, 500 tutoriais e vídeos explicativos. Aqui, você encontra apenas soluções!

Connect with SSH key

Atualização 15/06/2026

This guide explains how to connect to your Web Hosting using an SSH key.

 

✘ UNAVAILABLE with
sites of type Node.js
and Starter hosting plans.


 

Prerequisites

  1. Create an FTP + SSH account from the Infomaniak Manager.
  2. Create an SSH key with a secure algorithm, for example ed25519:
    • ssh-keygen -t ed25519

      because with an RSA key (ssh-keygen or ssh-keygen -t rsa), the connection will be refused, and the following error will be returned in verbose mode:

      debug1: send_pubkey_test: no mutual signature algorithm

 

Upload the SSH key

To do this:

  1. Connect to the server via SSH (need help?).
  2. Go to the root of your hosting:

    cd ~
  3. Create the « .ssh» directory:

     mkdir .ssh
  4. Change the permissions of the .ssh directory to CHMOD 700.
  5. Create the authorized_keys file and paste your SSH public key into it on a single line (important).
  6. Change the permissions of the authorized_keys file to CHMOD 600.

 

SSH agent forwarding (ForwardAgent / ssh -A) is not supported on the Infomaniak infrastructure, as this SSH agent forwarding feature poses significant security risks.


Esta seção de perguntas frequentes foi útil?