Comment #5 on issue 28 by [email protected]: add syntactic sugar to "ssh:" scheme for bouncing through multiple hosts
http://code.google.com/p/partiwm/issues/detail?id=28

Like suggested in comment #4, this functionality can be achieved with ProxyCommand option for openssh.

Let say you're able to connect to host outer.host.example.com with public key authentication and from there to inner.host.example.com also with public key authentication (key is loaded in ssh-agent and agent connection is forwarded).

Then by configuring following entry in $HOME/.ssh/config ...


host outer-inner
                hostname inner.host.example.com
                compression yes
                protocol 2
                ProxyCommand ssh outer.host.example.com "/bin/nc %h %p"
                ForwardAgent yes

... will allow you to ssh to inner host in one step ...

  ssh outer-inner

... or use xpra from your client as ...

  xpra attach ssh:outer-inner:DISPLAY_NUMBER

It works perfectly for me.


_______________________________________________
Parti-discuss mailing list
[email protected]
http://lists.partiwm.org/cgi-bin/mailman/listinfo/parti-discuss

Reply via email to