Accessing Services/Applications via SSH Tunnels ( public ) ( FABRIC Tutorials )
This artifact demonstrates how to securely access internal services (such as FileBrowser or Jupyter) running on FABRIC VMs using SSH tunnels through a bastion host.
It includes automation to generate a self-contained archive (fabric_ssh_tunnel_tools.tgz
) with the necessary SSH configuration and keys.
Once extracted, users can run a single ssh
command using the provided ssh_config
to establish a secure tunnel that forwards local ports to services hosted on their VM.
This allows convenient browser-based access via localhost
, even when the VM is on a private subnet.
Key Features:
- SSH tunnel setup using
ProxyJump
through the FABRIC bastion - Packaged config and key management in a downloadable
.tgz
archive - Support for port-forwarding multiple services (FileBrowser, etc.)
- Cross-platform usage (Linux, macOS, Windows with WSL or SSH clients)
Usage Example:
ssh -F ssh_config vm-alias
This creates a tunnel to the VM through the bastion, enabling access to services like:
http://localhost:5555 (FileBrowser)
This method is ideal for users needing secure, on-demand access to services running on FABRIC VMs without requiring direct external connectivity or VPNs.
July 9, 2025, 5:23 p.m.
Versions
2025-07-09 | July 9, 2025, 5:24 p.m. | urn:fabric:contents:renci:a5030c26-0ff1-4d1a-8796-fbd33b76e982 | 4 | download |
Authors
- Komal Thareja , University of North Carolina at Chapel Hill (kthare10@email.unc.edu)
- Paul Ruth , University of North Carolina at Chapel Hill (pruth@renci.org)