Automic VaultAutomic Vault

brew

Installer autossh avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de autossh pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install autossh

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install autossh

MacPorts ports tree · net/autossh/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add autossh

Alpine Linux edge package indexes · autossh · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install autossh

Debian stable package indexes · autossh · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install autossh

Fedora Rawhide package metadata · autossh · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#autossh

nixpkgs package indexes · pkgs/by-name/au/autossh/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S autossh

Arch Linux sync databases · autossh · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install autossh

openSUSE Tumbleweed package metadata · autossh · Source: download.opensuse.org

Windows

Scoopvérifié · 92%
scoop install main/autossh

Scoop official bucket manifest trees · bucket/autossh.json · Source: api.github.com

aperçu

Résumé du paquet

Automatically restart SSH sessions and tunnels

Commandes et alias

  • autossh
  • rscreen

historique

Historique du projet et usages

autossh is a small C utility that starts ssh, monitors the connection, and restarts it when the session dies or stops passing traffic. It became a standard package-manager tool for keeping SSH tunnels alive without writing a custom supervisor loop.

Historique du projet

The official README traces autossh's idea to rstunnel, Reliable SSH Tunnel. Early autossh releases changed the monitoring mechanism from the original rstunnel-style idea to a loop of SSH forwardings and later added support for a remote echo service.

The CHANGES file records version 1.1 as the initial release, then shows the program growing through practical tunnel-management fixes: startup gate handling, monitor-port behavior, signal handling, backgrounding, pid files, autoconf support, and compatibility with OpenSSH option changes.

Historique d'adoption

autossh spread through Unix package systems because it solves an operationally boring but persistent problem: keeping reverse tunnels, long-lived forwards, and remote sessions running. The official page notes availability in OpenBSD and FreeBSD ports, Cygwin, and some Linux distributions; the input records packages across Homebrew, Debian, Ubuntu, Fedora, Alpine, Arch, MacPorts, Nix, Scoop, and zypper ecosystems.

Modes d'utilisation

The normal invocation is `autossh -M port[:echo_port] [ssh options]`. autossh owns only a few flags, notably the monitor port, foreground/background behavior, and version output; most arguments are passed through to ssh.

For modern OpenSSH, the README documents `-M 0` to disable monitor ports and rely on SSH exit behavior, often paired with `ServerAliveInterval`, `ServerAliveCountMax`, and `ExitOnForwardFailure`. This is why autossh is common in init scripts, launch agents, simple service units, and admin one-liners.

Pourquoi les passionnés de paquets s'y intéressent

autossh is the sort of tiny package that persists because it does exactly one sysadmin job and has almost no policy surface. Package maintainers care about it because it sits at the intersection of OpenSSH option churn, daemon supervision, legacy Unix platforms, and service startup semantics.

Chronologie

  • Version 1.1: Initial release recorded in upstream CHANGES.
  • Version 1.2: Major restructuring added looped forwarded ports for connection tests and backoff after rapid failures.
  • Version 1.3: Remote echo-service monitoring and SIGUSR1 restart behavior added.
  • Version 1.4: Basic GNU autoconf support and pid-file support added.
  • 2019: Version 1.4g update noted on the official homepage.

Related projects

  • OpenSSH: autossh supervises the ssh client and passes through most options.
  • rstunnel: upstream credits it as the original idea.
  • screen: upstream mentions use with screen for persistent sessions.

posture de sécurité

Niveau de risque : blue

broad file, network, media, or database tool signal.

Classificateur de risque

risque blue · confiance moyen · tool

Pourquoi

  • broad file, network, media, or database tool signal

Signaux

  • text:ssh

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 13 plateformes.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
autosshcliexécutable global
rscreencliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-25
version du gestionnaire1.4g
gestionnaire mis à jour
données localesOK
amontnot checked
dernière version détectéenon détecté

https://www.harding.motd.ca/autossh/

  • infoNo package-manager update timestamp was available.confiance faible
  • infoRelease/tag comparison is only available for GitHub repositories.https://www.harding.motd.ca/autossh/confiance none

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:autossh
Version1.4g
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/autossh
Page d'accueilhttps://www.harding.motd.ca/autossh/
Docs amonthttps://www.harding.motd.ca/autossh
LicenceBSD-1-Clause
Archive sourcehttps://www.harding.motd.ca/autossh/autossh-1.4g.tgz
Bouteilledisponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameautossh
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

autossh 1.4g-1+b1

Automatically restart SSH sessions and tunnels

https://www.harding.motd.ca/autossh/

sudo apt install autossh
  • Section: net
  • Architecture: amd64
  • Source Package: autossh
  • 3 Dépendances
  • normalized package name match
  • Correspondance par : Autossh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: autossh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

autossh

nix profile install nixpkgs#autossh
  • normalized package name match
  • Correspondance par : Autossh
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/au/autossh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

autossh 1.4g-1

Automatically restart SSH sessions and tunnels

https://www.harding.motd.ca/autossh/

sudo apt install autossh
  • Section: universe/net
  • Architecture: amd64
  • 3 Dépendances
  • normalized package name match
  • Correspondance par : Autossh
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: autossh from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

autossh 1.4g-r3

Automatically restart SSH sessions and tunnels

https://www.harding.motd.ca/autossh/

sudo apk add autossh
  • License: MIT
  • Architecture: x86_64
  • Source Package: autossh
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Autossh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: autossh from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

autossh-doc 1.4g-r3

Automatically restart SSH sessions and tunnels (documentation)

https://www.harding.motd.ca/autossh/

sudo apk add autossh-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: autossh
  • normalized package name match
  • Correspondance par : Autossh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: autossh-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

autossh 1.4g-21.fc44

Utility to autorestart SSH tunnels

https://www.harding.motd.ca/autossh/

sudo dnf install autossh
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: autossh
  • 6 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : Autossh
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: autossh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

autossh 1.4g-4

Automatically restart SSH sessions and tunnels

https://www.harding.motd.ca/autossh/

sudo pacman -S autossh
  • License: custom
  • Architecture: x86_64
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Autossh
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: autossh from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

autossh 1.4g-2.23

Automatically restart SSH sessions and tunnels

https://www.harding.motd.ca/autossh/

sudo zypper install autossh
  • License: BSD-3-Clause
  • Category: Productivity/Networking/SSH
  • Architecture: x86_64
  • Source Package: autossh
  • 3 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Autossh
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: autossh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

autossh

sudo port install autossh
  • normalized package name match
  • Correspondance par : Autossh
MacPorts ports tree · api.github.com · MacPorts ports tree: net/autossh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/autossh

scoop install main/autossh
  • normalized package name match
  • Correspondance par : Autossh
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/autossh.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment