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 hosting on a Managed Cloud Server using an SSH key.
Prerequisites
- create an FTP + SSH account from the Manager
- 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
- connect to the SSH server of your hosting
- go to the root of your hosting: cd ~
- create the directory ".ssh": 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: