Managing your SSH keys

When configuring SSH tunnels for connecting to databases, authentication is performed using the SSH server. This can be done via either user name and password authentication, or by using key based authentication. Key based authentication gives the user the ability to login without a password. To authenticate using key based authentication, a key pair needs to be generated and then added to your user settings in Xplenty.

Xplenty supports only RSA keys.

To create a public key
$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/joe/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/joe/.ssh/id_rsa.
Your public key has been saved in /Users/joe/.ssh/
The key fingerprint is:
b6:28:f2:5c:2e:97:c2:29:54:9b:62:30:4d:53:c6:e2 joe@workstation.local

Press Enter at the first prompt to use the default file location. At the second prompt you can type a secure passphrase for the key or press Enter for no passphrase.

To add keys to Xplenty
  1. Click your avatar, then click Edit profile.
  2. Click SSH keys from the left pane menu
  3. Click new ssh key
  4. In the ssh keys window enter the public key that was created. For the sample above, the key is the contents of the file /Users/joe/.ssh/
  5. Click create ssh key.

You will receive a notification that the public key was added to your profile.

Feedback and Knowledge Base