OpenSSH 5.4 and netcat mode

Submitted by gwolf on Mon, 03/08/2010 - 12:32

The release of OpenSSH 5.4 was announced today. Its announced features include many small improvements, in usability and in crypto strength.

One of my favorite tricks using ssh is what Ganneff named ssh jumphosts – Many (most?) of my machines are not directly accessible from across the firewall, so the ability to specify in the configuration files where to jump through is most welcome. Well, with this "netcat mode" it will be much clearer to read and less of a hack… Of course, it loses a bit of the hackish æsthetic value, but becomes easier!

(yes, this post is basically a marker so I remember about it — But others might find it interesting)

Bartosz Fenski's picture

some hints

Here's my article about some ways of connecting to firewalled machines: http://polishlinux.org/linux/debian/three-ways-to-securely-access-remote...

It contains info about netcat tip too ;)

regards
fEnIo

gwolf's picture

Of course – and thanks!

Thanks for the link. Of course, tsocks is one of my favorite tricks – But it is for quite a different purpose IMO. Jumphosts (or proxies, as you treat them) are great for just throwing it into your .ssh/config and forgetting about it (and, of course, for trying to understand WTF when using a new machine until you remember the trick ;-) Human stupidity is, after all, boundless), and tsocks is to be used when you are in a restricted network or something like that.

Frankly, after finding tsocks, I have not needed setting up a manual VPN. It is just simple and flexible enough for me to be happy!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <br> <b> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <img> <h1> <h2> <h3> <tt> <pre> <strike> <table> <tr> <th> <td>
  • Lines and paragraphs break automatically.
  • Use <bib>citekey</bib> or [bib]citekey[/bib] to insert automatically numbered references.
  • Use [fn]...[/fn] (or <fn>...</fn>) to insert automatically numbered footnotes.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].

More information about formatting options