configure multi-hop ssh
i often have to ssh through another server onto the target host:
before:
$ ssh -A -t outer ssh -A -t inner.local
Last login: ...
inner.local$
after:
$ ssh -A inner
Last login: ...
inner.local$
works with scp too:
$ scp foo inner:bar
how? put the following in ~/.ssh/config:
Host inner
ProxyCommand ssh -q outer nc -q0 inner.local 22