Skip to main content

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:
code:
ssh -f -l user_on_b -n -l 9999:c:22 b ssh -p 9999 -x -y -l user_on_c localhost
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".


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [all variants] X windows forwarding over multiple ssh hops


Ubuntu

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support