Kennisbank
1.000 veelgestelde vragen, 500 tutorials en uitlegvideo's. Hier vind je alleen maar oplossingen!
Connect with SSH key
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 (❓: help).
- 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 (❓: 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 naar deze veelgestelde vragen: https://faq.infomaniak.com/2054
Is deze veelgestelde vragenlijst nuttig geweest?