Redily Logo

Adding a Redis Connection

Redily supports direct connections (optionally with SSL/TLS) and forwarded connections via SSH Tunnel.

In this section we'll cover how to connect to various servers using Redily.


Adding a direct connection

To add a standard direct connection open up on the New Connection Dialog by clicking the New Connection icon or by right clicking on the connections panel and selecting New Connection.

Give a name to your new connection and fill the address field with the server's address.

If your server requires authentication, click on the Authenticate checkbox and type in your key.

Now you can click on Test Connection and if the connection can be enstablished you can click on Add to save it on your connections list.

Adding a secure connection with SSL/TLS

To connect using SSL/TLS you just have to check the flag in the SSL/TLS tab.

If your server requires a certificate, you can paste it into the Certificate field.

Adding a connection via SSH Tunnel

Many cloud platforms provide Redis services that are not exposed on the internet. To manage those instances you can connect to an internet-facing machine that's in the same local network as your Redis instances via SSH and forward commands to the servers.

In order to do that, you need to have access to the credentials required to connect via SSH. Those credentials can be a username & password combination or a certificate depending on how your server is setup.

Once you have the credentials, click on the SSH Tunnel tab

Type in the address of the machine you want to connect to over SSH (this is the internet-facing machine in the same local network as the Redis instances)

Typically SSH clients listen on port 22, that's why it's set as the default port in the address.

Now type the address of the machine you want to forward commands to (this is the redis server on the local network). If you are connecting to a Cluster or Sentinel in the local network, just type in the local master address here and remember that Sentinels by default use port 26379.

Once that's done, you need to input the SSH credentials. In this example I'll use username and password but you also have the option to use a certificate (in OpenSSH format) if your server requires it.

At this time Redily doesn't support SSL over SSH, so if you are going to connect via SSH Tunnel you should not enable SSL in the SSL/TLS tab.

However the SSL over SSH feature will be fully supported in a future release.