OpenBSD Journal

Multiple ssh tricks.

Contributed by sean on from the OpenSSH, turning more tricks every day dept.

Robert de Bock writes in:
I use SSH extensively, and have written down the tricks I have learned (most of them I use daily) in a few articles.
These tricks make my daily job easy and it seems not all of the people I meet use them.

Please be aware that these tricks were not "invented" by me, Google/all-of-you have helped me in it.
Have fun!

(Comments are closed)

  1. By Anthony ( on

    Use a command line like:

    /usr/bin/ssh ssh -T -q -q -e none -i $MYKEY $USER@HOST

    in inetd, using a key bound to a socat command on the other end. This avoids the need for persistent SSH connections or daemons to manage them, but also avoids the need to use custom command lines in stuff that doesn't necessarily support it, or support it well. Completely transparent, if you can stomach the lag in establishing the connection.

  2. By Anonymous Coward ( on

    You can also take a look at my chainssh
    chainssh is a shell script to smplify the ssh login via multiple sshgateways/firewallgateaways.
    best bob

  3. By Anonymous Coward ( on

    I get the following error when doing step 5 at my work office:

    "Proxy error: 502 Proxy Error (The specified Secure Sockets Layer (SSL) port is not allowed. ISA server is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests)

  4. By Anonymous Coward ( on

    nice way to get some page views for your ads...


Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]