Riaan's SysAdmin Blog

My tips, howtos, gotchas, snippets and stuff. Use at your own risk!

LinuxSSH

Ssh and Scp through intermediate host

Quick way to use ssh / scp through an intermediate host.

~$ cat .ssh/config
Host rrhome
User    rrosso
HostName x.x.x.x
ProxyCommand    ssh rrosso@dmzhostname nc %h %p 2> /dev/null

~$ scp rrhome:/ts/hdpvrgrab/output.ts ./

admin

Bio Info for Riaan