|
|
|
|
|
by hf
4440 days ago
|
|
What is more, you can specify an abstraction
for the tedious double-ssh where you first connect
to some internet-facing host in order to gain access
to an internal machine: Host $ALIAS
User $USER
HostName $INTERNAL
ProxyCommand ssh $USER2@$PUBLIC -W %h:%p
Now laptop> ssh jim@public.example.com
public> ssh dev@myworkstation
becomes laptop> ssh work
(I just realized that this slightly confused
article seems to accomplish the same by using a convoluted
setup of port-forwardings and netcat.) |
|