Base de conhecimento
1000 perguntas frequentes, 500 tutoriais e vídeos explicativos. Aqui, você encontra apenas soluções!
Connect with SSH key
This guide explains how to connect to your Web Hosting using an SSH key.
✘ UNAVAILABLE with
Node.js type site
Starter hostings
Prerequisites
- Create an FTP + SSH account from the Infomaniak Manager.
- Create an SSH key with 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 of your hosting:
cd ~Create the directory «
.ssh»:mkdir .ssh- Change the permissions of the
.sshdirectory to CHMOD 700. - Create the
authorized_keysfile and paste your public SSH key on a single line (important). - Change the permissions of the
authorized_keysfile to CHMOD 600.
Link para esta FAQ: https://faq.infomaniak.com/2054
Esta seção de perguntas frequentes foi útil?