From partiwm at googlecode.com Wed Dec 28 03:05:09 2011 From: partiwm at googlecode.com (partiwm at googlecode.com) Date: Wed, 28 Dec 2011 11:05:09 -0000 Subject: [Parti-discuss] Issue 28 in partiwm: add syntactic sugar to "ssh:" scheme for bouncing through multiple hosts In-Reply-To: <4-4138783142342026314-6318506944927082801-partiwm=googlecode.com@googlecode.com> References: <4-4138783142342026314-6318506944927082801-partiwm=googlecode.com@googlecode.com> <0-4138783142342026314-6318506944927082801-partiwm=googlecode.com@googlecode.com> Message-ID: <5-4138783142342026314-6318506944927082801-partiwm=googlecode.com@googlecode.com> Comment #5 on issue 28 by martin.r... at gmail.com: 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.