Suppose we have the following network topology: server with two interfaces and, passthrough-pc with two interfaces: and and client-pc with interface Server acts as a gateway into for passthrough-pc and provides ssh at We want to access that ssh from client-pc. Passthrough-pc provides ssh to client.

Topology schema

It's quite simple. We just need ssh port forwarding feature. Do on passthrough-pc:

ssh -4

That's all. We done:

ssh -p 54321 -i <key>
sshfs -p54321 -o IdentityDile=<key> /mountpoint


comments powered by Disqus