Quickstart
Secure Shell (SSH)
Proxy an SSH Server to remote hosts in your private network.
Prerequisites
To get the most out of this guide, you will need to:
- Either create an account in our managed instance or deploy your own hoop.dev instance
- You must be your account administrator to perform the following commands
Features
The table below outlines the features available for this type of connection.
- Native - This refers to when a database client connects through a specific protocol, such as an IDE or client libraries through
hoop connect <connection-name>
. - One Off - This term refers to accessing this connection from Hoop Web App.
Feature | Native | One Off | Description |
---|---|---|---|
Audit | The gateway store and audit the commands being issued by the SSH client. | ||
Data Masking (Google DLP) | A policy can be enabled to mask sensitive fields dynamically for the output. | ||
Data Masking (MS Presidio) | A policy can be enabled to mask sensitive fields dynamically for the output. | ||
Credentials Offload | The user authenticates via SSO instead of using SSH credentials. |
Configuration
Name | Type | Required | Description |
---|---|---|---|
HOST | env-var | yes | The IP or hostname of the SSH server |
PORT | env-var | no | The port of the SSH server, default to 22 |
USER | env-var | yes | The username of the Linux server |
PASS | env-var | no | The credentials of the username if password authentication is enabled in the SSH server. |
AUTHORIZED_SERVER_KEYS | env-var | no | The private key of the user that corresponds to the public key at $HOME/<user>/.ssh/authorized_keys |
Connection setup
In upcoming releases, we plan to automate the management of users, keys, and passwords on the remote server. Additionally, our roadmap includes adding a UI for managing such type of connections.
How to Use it
Connect with your local SSH client
SSH Hosts Key
To prevent fingerprint issues when connecting with the local SSH client server, add the client host key during gateway setup. For more details, refer to the environment variables documentation.