How to auto login with SSH using private/public keys

When logged in with SSH insert ONLY your public key into the file private/.ssh/authorized_keys

Create .ssh directory in advance and ensure correct permissions.

You can now make an SSH login without password using the command:

ssh -i /path/to/private.key -p PORTNUMBER

Find username and port number in the control panel under Services -> SFTP/SSH (View credentials).

SFTP/SSH service can be enabled and extended up to 7 days.

"Always on" feature for SFTP/SSH service is possible with Business and Enterprise subscriptions.

We STRONGLY recommend enabling SFTP/SSH service for as short time as possible to avoid brute force attacks and maintain a good security practice in general.

Har du flere spørgsmål? Send en anmodning

0 Kommentarer

Artiklen er lukket for kommentarer.
Drevet af Zendesk