Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Log in with SSH key
This guide explains how to connect to your Web Hosting using an SSH key.
Prerequisites
- create an FTP + SSH account from the Manager
- create an SSH key with a secure algorithm, e.g. 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
Adding the SSH key
To do this:
- connect to the SSH server of your hosting
- go to the root of your hosting: cd ~
- create the ".ssh" directory: mkdir .ssh
- change the permissions of the ".ssh" directory to chmod 700
- create the authorized_keys file and paste your public SSH key on a single line (important)
- change the permissions of the authorized_keys file to chmod 600
Link to this FAQ: