How to login to my Stack Server using SSH private key on Linux/Mac? Print

  • Stack Server
  • 0

Issue:

You want to access your stack server from your linux/Mac without using password.

Solution:

Please refer below solution for more details:

1. Login to your client area and services. 

2. Select your Stack Server instance that you would like to access.

3. Download the SSH public key from your client area.

4. now open your Terminal and change the SSH public key permission to 600.

chmod 600 <SSH Public key file>


5. Now you can access your server from your Linux/Mac terminal using below command.

ssh -i <SSH Public key file> root@<server IP Address>


Now you should be able to access your Stack Server without having to key in any password.

Was this answer helpful?

« Back