[pisa] Re: direct ssh to passion

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: staff <staff@xxxxxxxxxxxxxxxxxxxxx>, students <students@xxxxxxxxxxxxxxxxxxxxx>, pisa@xxxxxxxxxxxxx
  • Date: Wed, 28 Mar 2012 09:12:56 +0200

On Mon, Jul 25, 2011 at 03:46:00PM +0200, Diego Biurrun wrote:
> Since I've been struggling with this for a while I thought I might share
> the following tidbit: In order to ssh directly into passion without going
> through login first, I placed the following in my ~/.ssh/config:
> 
>   host passion
>       user biurrun
>       ProxyCommand ssh login nc %h %p
>       #ProxyCommand ssh login -W %h:%p
> 
>   host login
>       hostname login.nets.rwth-aachen.de
>       user biurrun
> 
> Now I can just type 'ssh passion' instead of doing a two-step ssh login.
> The hack with netcat is necessary due to the last millenium version of
> ssh that comes with CentOS 5.6, which is installed on login.  More modern
> versions could use the commented-out '-W' variant.

I thought I'd drop a quick followup line because I just tripped over this
issue: Now that login has been upgraded to CentOS 6.2, you can switch
between the variants.  In fact only the -W version works now because
netcat is not installed on login (Rainer?).

Diego
-- 
This is the main pisa mailing list. Please also subscribe to the pisa-dev list 
at:
//www.freelists.org/list/pisa-src

Other related posts: