Articles on: General

How to use a SSH Key with Apollo

How to use a SSH Key with Apollo



SSH Keys are useful as you do not always need to use a password which you may forget so instead you can use a SSH key to authenticate during SFTP. This is usually faster than ordinarily putting in a password.


Table of Contents



How to add a SSH Key
How to use a SSH Key (WinSCP)
How to use a SSH Key (FileZilla)

How to add a SSH Key



On the home page of the Apollo panel, click "SSH Keys".



Give the SSH Key a name and paste in the public key, just like so:



Once completed, press save. The SSH key will now be added to your account.



If you would like to add a SSH Key from Github, click the "Import From Github" button. Then, type in the username of the Github account. Once completed, click "Import". (OPTIONAL)



The SSH Key should now be added to your account.



How to use a SSH Key (WinSCP)



If you do not know how to use SFTP, we have a article that explains what it is and how to use it here.

Fill in the usual SFTP credentials however leave the password box blank. Next, click "Advanced.



On the left hand side, click Authentication which is under the SSH category.



Now, click the 3 dots and select the private key file.



Once you have selected the private key file, Click "Ok". Now that the SSH Key has been added to our SFTP session, we can now login to the server.



You should now be connected to the server using the SSH Key that you have added earlier!

How to use a SSH Key (FileZilla)



If you do not know how to use SFTP, we have a article that explains what it is and how to use it here.

On the top-left hand side corner, click File then click Site Manager.



Then, click New Site to create a new saved configuration. Now fill in all the details except the password box. Remember to select the protocol as SFTP.



Once completed, click the Logon Type drop-down and find the "Key File". A button should appear with the text "Browse". Click on that button and navigate to the private key.



Now click "Connect". You should now be connected to the server using the SSH Key that you have added earlier!



If you require any further assistance, please create a ticket here.


Created By: Greg K.

Updated on: 19/01/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!