BSD Ports

security/autossh 1.4g MidnightBSD

Automatically restart SSH sessions and tunnels

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd3
Categories
security

Description

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.)

In the other systems

SystemPortVersion
MidnightBSDsecurity/autossh1.4g
FreeBSDsecurity/autossh1.4g_1
OpenBSDsysutils/autossh1.4g
NetBSDwip/autossh1.4g
DragonFlysecurity/autossh1.4g_1
HardenedBSDsecurity/autossh1.4g_1
GhostBSDsecurity/autossh1.4g_1
OPNsensesecurity/autossh1.4g_1

Install

Binary package:

mport install autossh

From mports:

cd /usr/mports/security/autossh && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	autossh>0:security/autossh

Dependencies

No port depends on this one.

Configuration

Options name: security_autossh

OptionDefaultDescription
DOCSoff
SSH_PORTABLEoffDefault to ports openssh (instead of base)
USES
tar:tgz
Service scripts
none

Files

Manual pages 1
  • autossh(1)
pkg-plist 4
  • bin/autossh
  • share/examples/autossh/autossh.host
  • share/examples/autossh/rscreen
  • share/man/man1/autossh.1.gz
distinfo 1
FileSizeSHA256
autossh-1.4g.tgz675995fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31ae21277
Master sites 1
  • http://www.harding.motd.ca/autossh/