To use it, specify the bastion host to connect through after the -J flag, plus the remote host: $ ssh -J The ProxyJump, or the -J flag, was introduced in ssh version 7.3. Instead of first SSHing to the bastion host and then using ssh on the bastion to connect to the remote host, ssh can create the initial and second connections itself by using ProxyJump.
The ssh command has an easy way to make use of bastion hosts to connect to a remote host with a single command. Linux System Administration Skills Assessment.Download Now: Basic Linux Commands Cheat Sheet.Advanced Linux Commands Cheat Sheet for Developers.