Before you start
To get the most out of this guide, you will need to:Features
The table below outlines the features available for this type of connection.- Native - Indicates the connectivity happens through the Hoop command line (
hoop connect <connection-name>) or acessing the protocol port directly on the gateway. - One Off - This term refers to accessing the resource from Hoop Web Console.
Connection Setup
How to Use it
To connect automatically, it will listen to a random port and use your local ssh client to connect it.
In the listen mode, it will listen for connections on the specified port when using the --port flag.
Connect with your local SSH client using another terminal window:
SSH Hosts Key
To prevent fingerprint issues when connecting with the local SSH client server,
add the client host key environment variable during gateway setup.
The key must be in PKCS#8 format and encoded as base64. You can generate a key with openssl utility:
SSH_CLIENT_HOST_KEY=<base64-encoded-key>
To troubleshoot the SSH connection with hosts keys, use the --debug flag when running the hoop connect command.
This will provide detailed information about the connection process, including any issues related to parsing the host key.
For more details, refer to the environment variables documentation.
Known Issues
Warp Terminal
When using Warp Terminal, you might encounter issues due to its unique handling of SSH connections.
To disable it, set this option in your bash profile or your current shell session