How to Set Up SSH Keys for Passwordless Login

Published on 13 Aug 2019 - Updated on 30 Mar 2021

Let’s discuss SSH Keys. Are they something you’ve heard about but never really understood? Have you wanted to set them up but don’t know where to begin? You’re not the only one with these questions.

Setting up SSH keys.

Wait, What Are SSH Keys?

SSH keys are a great way to let users connect to an account without having to transmit a password. SSH keys can be optional. If you or your client will be connecting to a host through the web browser or FTP Client, an SSH key may not be required. Your data can still be encrypted in transit when using a SFTP or HTTPS connection with a username and password combination.

Many will choose to use a SSH key for the following reasons:

  • SSH keys offer a strong authentication option more complex than your typical username and password combination.
  • SSH keys automate the login process – you will not be required to physically type in your username and password every time.
  • In addition to saving time when connecting, using SSH keys to authenticate instead of manually entering a username and password may be a requirement for integrations such as custom scripts or automations with FTP Clients.

The SSH keys themselves come in pairs. There’s a public key and a private key. The private key gets stored on the local computer of the user that will connect to the host and it is kept secret. The public portion of the key actually gets stored on the host computer you want to connect to — for example, in your ExaVault account.

Public key and private key.

Is how to set up SSH keys a common support request?

Actually, yes. Knowing hot to set up SSH keys is common for new file-sharing users who are planning on doing SFTP transfers, and often in cases where a customer or a vendor is requiring the use of SSH keys.

Getting Started With SSH Keys

The easiest way to get started with SSH keys is to see if your SFTP service provider can make the keys for you. It never hurts to ask, and this makes the process nice and simple. In some cases, you can just as easily create the key pair directly from your file-sharing account.

With ExaVault, creating keys as simple as connecting to your account as an admin, find the user you want to create SSH keys for, selecting the dropdown, then choosing the ‘Generate SSH Keys’ option.

Easily generate SSH keys from the users page in ExaVault.

After selecting ‘Generate SSH Keys’, ExaVault gives you three options:

  1. Automatically generate key pair (Recommended): This is the easiest option. When selected, ExaVault will generate a new SSH key pair.
  2. Import a public key from a file: This option is for setting up a user who already has a SSH key pair that they would like to use. To complete, upload the public key by using the ‘SELECT FILE’ option on the pop-up.
  3. Paste in your public key: Similar to ‘Import’ – if you have a public key in the format of a string of text that can be copied, you can use this option to paste the key text directly without the need to create and upload a file.

Once you select your option above and use the ‘CREATE KEY’ button, you’ll notice an automatic download on your system labeled key.txt. The key.txt file is the private key and will need to be saved on the local machine of the user connecting to ExaVault. You don’t have to do anything else apart from importing the private key into your FTP client and testing the connection to see if it works.

Is it possible to have more than one key pair of SSH keys in my account?

For most services, this shouldn’t be a problem. It is a common request that comes up, especially in cases where you have multiple users who are using the same home folder.

On ExaVault, you can visit the ‘SSH KEYS’ page to review a list of all your regenerated SSH keys. To provide a username with a second key pair, simply use the ‘ADD NEW SSH KEY’ and select the desired user when completing the set-up.

ExaVault SSH key management interface.

For more detailed instructions on how to up SSH keys with ExaVault, visit our help page.

Ready to Go With SSH Keys

Properly formatted and stored SSH keys let you create automatic logins to your SFTP service. They also help with password-less login for automated file transfers. There are options to set up SSH keys automatically or manually depending on your situation and SFTP service provider.

To take a look at our new SSH key management interface check out our video >> Watch Now!


Need an SFTP site with passwordless login? Get ExaVault today!


Recent Related Blogs

Share via:
  • Facebook
  • Twitter
  • LinkedIn

© 2022 ExaVault LLC. All Rights Reserved. ExaVault is a registered trademark of ExaVault LLC.