Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Connect with SSH key
This guide explains how to connect to your Web hosting using an SSH key.
Prerequisites
- Create an FTP + SSH account from Manager Infomaniak.
- Create a SSH key with a safe algorithm, e.g.
ed25519
:ssh-keygen -t ed25519
for with a key in rsa (
ssh-keygen
orssh-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
Place SSH key
To this end:
- Log in to the SSH server (Need help?).
Go to the root of your accommodation:
cd ~
Create the directory «
.ssh
»:mkdir .ssh
- Edit directory rights
.ssh
in chmod 700. - Create File
authorized_keys
and paste your public SSH key on a single line (important). - Edit file rights
authorized_keys
in chmod 600.
Link to this FAQ: