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.