autossh - Automatically restart SSH sessions and tunnels

Property Value
Distribution openSUSE Leap 15.0
Repository Security all
Package filename autossh-1.4g-lp150.43.1.x86_64.rpm
Package name autossh
Package version 1.4g
Package release lp150.43.1
Package architecture x86_64
Package type rpm
Category Productivity/Networking/SSH
License BSD-3-Clause
Maintainer -
Download size 39.92 KB
Installed size 59.76 KB
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 idea and
the mechanism are from rstunnel (Reliable SSH Tunnel), but implemented
in C. The author's view is that it is not as fiddly as rstunnel to get
to work. Connection monitoring using a loop of port forwardings. Backs
off on rate of connection attempts when experiencing rapid failures
such as connection refused.


Package Version Architecture Repository
autossh-1.4e-lp150.1.4.x86_64.rpm 1.4e x86_64 openSUSE Oss
autossh - - -


Name Value -
openssh -


Name Value
autossh = 1.4g-lp150.43.1
autossh(x86-64) = 1.4g-lp150.43.1


Type URL
Binary Package autossh-1.4g-lp150.43.1.x86_64.rpm
Source Package autossh-1.4g-lp150.43.1.src.rpm

Install Howto

  1. Add the Security repository:
    # zypper addrepo security
  2. Install autossh rpm package:
    # zypper install autossh




2019-03-28 - Greg Freemyer <>
- Update to version 1.4g
+ most notably addresses a bug that could see an alarm signal occur
without a handler, causing autossh to exit inappropriately.
2019-03-17 - Jan Engelhardt <>
- Remove pre-12.2 parts from build recipe
- Reduce hard dependency on systemd
- Replace old $RPM_* shell vars and %__-type macro indirections.
2018-10-15 -
- Update to version 1.4f
+ Change behavior when ssh exits on signal.
+ Fix order of arguments to kill().
+ Ignore SIGPIPE.
+ Should accept the default -1 with AUTOSSH_MAXSTART
+ memset() sigaction structure before use
- autossh-makefile-destdir.patch: dropped
2017-11-23 -
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
2015-09-15 -
- Update to version 1.4e
+ By default, changing the poll time should change the first poll
time to match. Only have different times if AUTOSSH_FIRST_POLL
is explicitly set. Jerry Xie forwarded on change request from
Ubuntu bug forums.
2015-05-13 -
- Minor cleanups to service file and sample my.conf override file
2015-04-24 -
- change autossh.service content to reflect it is a READONLY file.
- change the install line for autossh.service to:
%__install -D -m 444 %{S:3} %{buildroot}%{_unitdir}/autossh@.service
* This has 2 big changes.  First the permissions are 444, so READONLY.
* Second, note the @ char in the target name.
This makes it an instantiated service file
- add a sample my.conf override file
- add a file that:
* explains how to use systemd instantiated service
* how to use the override file
* a full walkthru of how to setup a reverse tunnel
2014-12-18 -
- Update to version 1.4d
+ call daemon() before opening any sockets. Problem discovered and
diagnosed by Frank van der Aa when trying to start autossh at
system init.
+ don't use malloc(n * size) idiom; use calloc()
2014-07-20 -
- Add systemd support for openSUSE > 12.2
2013-03-27 -
- support a custom count of instances

See Also

Package Description
barada-pam-0.5.3-lp150.3.1.x86_64.rpm HOTP PAM Module
bearssl-devel-0.6-lp150.1.1.x86_64.rpm Development files for bearssl
ccrypt-1.11-lp150.10.2.x86_64.rpm Crypt and Decrypt Files and Streams with AES
ccrypt-emacs-1.11-lp150.10.2.x86_64.rpm Integration for ccrypt with emacs
ccrypt-lang-1.11-lp150.10.2.noarch.rpm Translations for package ccrypt
cdk-devel-5.0.20190224-lp150.179.1.x86_64.rpm Development Part of Curses Development Kit
chkrootkit-0.53-lp150.1.1.x86_64.rpm Used to Check for Symptoms of Installed Root Kits
chrootuid-1.3-lp150.3.1.x86_64.rpm Runs Daemons with restricted File System Access
clamav-0.101.2-lp150.199.1.x86_64.rpm Antivirus Toolkit
clamav-devel-0.101.2-lp150.199.1.x86_64.rpm Development files for libclamav, an antivirus engine
clamtk-5.26-lp150.6.1.noarch.rpm GUI for the ClamAV Antivirus
clamtk-kde-0.18-lp150.1.1.noarch.rpm Dolphin integration plugin for ClamTk
clamtk-kde-kde4-0.18-lp150.1.1.noarch.rpm Clamtk-kde for kde4
clamtk-kde-kf5-0.18-lp150.1.1.noarch.rpm Clamtk-kde for kf5
clamtk-lang-5.26-lp150.6.1.noarch.rpm Translations for package clamtk