add autossh-1.2d

autossh is a program to start a copy of ssh and monitor it, restarting
it as necessary should it die or stop passing traffic.

The original idea and the mechanism were from rstunnel (Reliable SSH
Tunnel). With this version the method changes: autossh uses ssh to
construct a loop of ssh forwardings (one from local to remote, one
from remote to local), and then sends test data that it expects to
get back. (The idea is thanks to Terrence Martin.)

WWW:		http://www.harding.motd.ca/autossh/
This commit is contained in:
Yen-Ming Lee 2003-10-06 23:49:25 +00:00
parent bfc61041b6
commit ca0bdb3bff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90476
5 changed files with 44 additions and 0 deletions

View File

@ -19,6 +19,7 @@
SUBDIR += audit
SUBDIR += authforce
SUBDIR += authpf
SUBDIR += autossh
SUBDIR += avcheck
SUBDIR += avmailgate
SUBDIR += bcwipe

27
security/autossh/Makefile Normal file
View File

@ -0,0 +1,27 @@
# New ports collection makefile for: autossh
# Date created: 26 December 2002
# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= autossh
PORTVERSION= 1.2d
CATEGORIES= security
MASTER_SITES= http://www.harding.motd.ca/autossh/
EXTRACT_SUFX= .tgz
MAINTAINER= leeym@FreeBSD.org
COMMENT= Automatically restart SSH sessions and tunnels
MAKEFILE= Makefile.bsd
USE_REINPLACE= yes
MAN1= autossh.1
post-patch:
@${REINPLACE_CMD} -e 's,cp autossh.1 ,$$\{BSD_INSTALL_MAN\} autossh.1 ,g' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's,cp autossh ,$$\{BSD_INSTALL_PROGRAM\} autossh ,g' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's,cp ,$$\{BSD_INSTALL_DATA\} ,g' ${WRKSRC}/${MAKEFILE}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (autossh-1.2d.tgz) = 6e73d325a8286ac3d8eddf63f2043d0d

View File

@ -0,0 +1,10 @@
autossh is a program to start a copy of ssh and monitor it, restarting
it as necessary should it die or stop passing traffic.
The original idea and the mechanism were from rstunnel (Reliable SSH
Tunnel). With this version the method changes: autossh uses ssh to
construct a loop of ssh forwardings (one from local to remote, one
from remote to local), and then sends test data that it expects to
get back. (The idea is thanks to Terrence Martin.)
WWW: http://www.harding.motd.ca/autossh/

View File

@ -0,0 +1,5 @@
bin/autossh
%%DOCSDIR%%/CHANGES
%%DOCSDIR%%/README
%%EXAMPLESDIR%%/autossh.host
%%EXAMPLESDIR%%/rscreen