ssh trick – ssh to remote host with bastion host
Lot of times, you have to ssh to a server with bastion host. If you dont know what is bastion host then see this:

Now, in such cases, either you add an entry in “~/.ssh/config” to route the ssh through the bastion host or do ssh to bastion host and then ssh from there to the actual host. But wait, there is always a better way:
Continue reading