![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Direct access to a target available via an intermediate host can be set up using SSH aliases, ProxyCommand configuration option, and nc(1):
Host target HostName targethost User targetuser ProxyCommand ssh proxyhost nc targethost 22This way, both ssh(1) (`ssh target') and scp(1) (`scp file target:') will be available.