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
| System | Port | Version |
|---|---|---|
| MidnightBSD | security/autossh | 1.4g |
| FreeBSD | security/autossh | 1.4g_1 |
| OpenBSD | sysutils/autossh | 1.4g |
| NetBSD | wip/autossh | 1.4g |
| DragonFly | security/autossh | 1.4g_1 |
| HardenedBSD | security/autossh | 1.4g_1 |
| GhostBSD | security/autossh | 1.4g_1 |
| OPNsense | security/autossh | 1.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
| Option | Default | Description |
|---|---|---|
| DOCS | off | |
| SSH_PORTABLE | off | Default 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
| File | Size | SHA256 |
|---|---|---|
| autossh-1.4g.tgz | 67599 | 5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31ae21277 |
Master sites 1
- http://www.harding.motd.ca/autossh/