Setting Up SSH Tunnels to IDNT Compute Instances (Linux and Mac OS X)
This guide explains how to create SSH tunnels to IDNT compute instances on Linux and Mac OS X systems.
SSH Tunneling
SSH tunnels provide secure connections to services running on remote compute instances by forwarding local ports through encrypted SSH connections.
Creating Tunnels
Local Port Forwarding
`ash ssh -L local_port:destination_host:destination_port user@gateway ``n
Dynamic Port Forwarding (SOCKS Proxy)
`ash ssh -D local_port user@gateway ``n
Common Use Cases
- Accessing web interfaces securely
- Database connections
- Development server access
- Bypassing network restrictions
Security Considerations
- Use strong authentication
- Limit tunnel lifetime
- Monitor active connections
- Close unused tunnels