[pisa] direct ssh to passion

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: staff <staff@xxxxxxxxxxxxxxxxxxxxx>, students <students@xxxxxxxxxxxxxxxxxxxxx>, pisa@xxxxxxxxxxxxx
  • Date: Mon, 25 Jul 2011 15:46:00 +0200

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.

If somebody thinks this is old and stupid and has a better solution, I'm
all ears...

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: