3 ms·
I used nc to do just this for years until I switched companies and found that many of the hosts didn't have nc installed. To get around that I just added the f
by rbarr 16y ago
I used nc to do just this for years until I switched companies and found that many of the hosts didn't have nc installed.
To get around that I just added the following to my bashrc
alias remote_host="ssh -t bastion ssh -t host1 ssh host2"