Artie Transfer
Comment on page

Enabling SSH Tunneling

In this guide, we will walk through what is a SSH tunnel and how you can enable this within Artie.

What is SSH Tunneling?

An SSH tunnel refers to a secured connection between a local machine and a remote server. SSH tunnels are a great and secure way to manage access to private resources within your VPC.
With Artie, it would look something like this:

Step 1 - Creating a SSH tunnel

If you have one already, skip this step. However, if you don't - then make sure to create an EC2 or equivalent instance. Make sure this instance can connect to your database.

Step 2 - Allowing Artie to connect

  • Before you add an account to Artie, make sure to create a new SSH tunnel within Artie UI​
  • Grab the public IP address and port
AWS console to grab the IP address
  • Once the SSH tunnel is created, copy the public key and add it to your server
Artie advanced settings
# SSH into your instance
# (Optional) if you want to create a service account
sudo adduser -m artie
sudo su artie
mkdir ~/.ssh
# Add the public key to ~/.ssh/authorized_keys
vi ~/.ssh/authorized_keys
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
Last modified 1mo ago