Date: Sun, 28 Apr 2002 16:27:37 +0800 (CST) From: Yen-Ming Lee <leeym@utopia.leeym.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/37521: new port: security/autossh Message-ID: <20020428082737.AF5163EACAF@utopia.leeym.com>
next in thread | raw e-mail | index | archive | help
>Number: 37521 >Category: ports >Synopsis: new port: security/autossh >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 28 01:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 4.5-STABLE FreeBSD 4.5-STABLE #15: Wed Apr 24 05:19:49 CST 2002 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386 >Description: Automatically restart SSH sessions and tunnels WWW: http://www.harding.motd.ca/autossh/ >How-To-Repeat: >Fix: --- autossh.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # autossh # autossh/Makefile # autossh/pkg-comment # autossh/pkg-descr # autossh/pkg-plist # autossh/distinfo # echo c - autossh mkdir -p autossh > /dev/null 2>&1 echo x - autossh/Makefile sed 's/^X//' >autossh/Makefile << 'END-of-autossh/Makefile' X# New ports collection makefile for: autossh X# Date created: 28 April 2002 X# Whom: Yen-Ming Lee <leeym@leeym.com> X# X# $FreeBSD$ X# X XPORTNAME= autossh XPORTVERSION= 1.1 XCATEGORIES= security XMASTER_SITES= http://www.harding.motd.ca/autossh/ XEXTRACT_SUFX= .tgz X XMAINTAINER= leeym@leeym.com X XMAKEFILE= Makefile.bsd XALL_TARGET= ${PORTNAME} X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/autossh ${PREFIX}/bin X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for file in README autossh.host X @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> END-of-autossh/Makefile echo x - autossh/pkg-comment sed 's/^X//' >autossh/pkg-comment << 'END-of-autossh/pkg-comment' XAutomatically restart SSH sessions and tunnels END-of-autossh/pkg-comment echo x - autossh/pkg-descr sed 's/^X//' >autossh/pkg-descr << 'END-of-autossh/pkg-descr' Xautossh X------- X(Instead of a man page. (I'll get to it, really.)) X Xautossh is a program to start a copy of ssh and monitor it, restarting Xit as necessary should it die or stop passing traffic. X XThe idea and the mechanism are from rstunnel (Reliable SSH XTunnel). I'm a little leery of the method --- opening up a port Xforward to a non-existent service, but it seems to work. Still, a word Xof warning: it generates a good number of error messages that tend Xfind their way into various logs. X Xautossh has only one argument of its own, -M <port>, to specify the Xmonitoring port to use. This port should be something nothing else is Xusing. All other arguments are passed to ssh. There are a number of Xother settings, but these are all controlled through environment Xvariables. ssh seems to be appropriating more and more letters for Xoptions, and this seems the easiest way to avoid collisions. X XWWW: http://www.harding.motd.ca/autossh/ END-of-autossh/pkg-descr echo x - autossh/pkg-plist sed 's/^X//' >autossh/pkg-plist << 'END-of-autossh/pkg-plist' Xbin/autossh X%%PORTDOCS%%share/doc/autossh/README X%%PORTDOCS%%share/doc/autossh/autossh.host X%%PORTDOCS%%@dirrm share/doc/autossh END-of-autossh/pkg-plist echo x - autossh/distinfo sed 's/^X//' >autossh/distinfo << 'END-of-autossh/distinfo' XMD5 (autossh-1.1.tgz) = 6687f416982a8c41bf90c09728037d93 END-of-autossh/distinfo exit --- autossh.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020428082737.AF5163EACAF>