SSH via Jump Host (Bastion)

Reach a private server by hopping through a bastion in one command.

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


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

Free account. Save snippets into your own collections.