Thread: X windows forwarding over multiple ssh hops
hi folks, i'm having trouble performing x forwarding on multiple ssh hops.
setup i'm trying accomplish is:
local machine(a) -> gateway machine(b) -> target machine(c)
b , c on same network c doesn't have wan access. i've used x forwarding b, , (while on lan c) c.
when i'm trying a->b->c wan, though, can't x forwarding work. know how go?
try this:
on a:
you must able ssh b , c in order work. example, if c not on known_host list of b, give error: "administratively prohibited: open failed".code:ssh -f -l user_on_b -n -l 9999:c:22 b ssh -p 9999 -x -y -l user_on_c localhost
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [all variants] X windows forwarding over multiple ssh hops
Ubuntu
Comments
Post a Comment