SSH via Jump Host (Bastion)

Connects to a target server through an intermediate jump/bastion host in a single command. The -J flag handles the proxy transparently without needing ProxyCommand in config.

When you need this: When a target server is in a private network accessible only through a bastion host.

Variables

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.