> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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](#3-how-to-add-a-ssh-key)
* [How to use a SSH Key (WinSCP)](#3-how-to-use-a-ssh-key-winscp)
* [How to use a SSH Key (FileZilla)](#3-how-to-use-a-ssh-key-filezilla)

---

### How to add a SSH Key

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

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/msedgemj4ayfljlj_1k85k4u.png)

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

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/msedgeuthjy2nsko_kryyin.png)

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

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/msedgetweljuqg74_59pzc6.png)

4. 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)**

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/msedge0lqjrftvh4_1cno6se.png)

The SSH Key should now be added to your account.

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/msedgetweljuqg74_10fd30y.png)

### 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](/en/article/how-to-install-use-winscp-e8vcfz/).

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

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/winscplgqoljdsi0_10jxtty.png)

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

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/winscpdfubcyxcct_1jtu4qv.png)

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

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/winscpq71faimsgk_1uak9vg.png)

4. 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.

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/winscppsvmydyvvw_13y8v3i.png)

5. 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](/en/article/how-to-install-use-filezilla-1gjdgy2/).

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

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/bw9kqdluft_52bvaq.png)

2. 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**.

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/filezillapxwukuedet_3syoom.png)

3. 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.

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/filezillaxqx480mqvr_krimi2.png)

4. 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](https://billing.sparkedhost.com/submitticket.php).

---

Created By: Greg K.