Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Connect with SSH key
Update 09/01/2026
This guide explains how to connect to your Web Hosting using an SSH key.
✘ UNAVAILABLE with
sites of type Node.js
hosting plans Starter
Prerequisites
- Create an FTP + SSH account from the Infomaniak Manager.
- Create an SSH key using a secure algorithm, for example
ed25519:ssh-keygen -t ed25519because with an RSA key (
ssh-keygenorssh-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:
- Connect to the server via SSH (need help?).
Go to the root directory of your hosting:
cd ~Create the "
.ssh" directory:mkdir .ssh- Change the permissions of the
.sshdirectory to CHMOD 700. - Create the
authorized_keysfile and paste your public SSH key into it on a single line (important). - Change the permissions of the
authorized_keysfile to CHMOD 600.
SSH agent forwarding (ForwardAgent / ssh -A) is not supported on the Infomaniak infrastructure: this SSH agent forwarding feature presents significant security risks.
Link to this FAQ: https://faq.infomaniak.com/2054
Has this FAQ been helpful?