pkg.soopen package index

brew / 排名 1341

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop 安装 autossh

查看 autossh 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install autossh

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install autossh

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add autossh

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

Debian apt已验证 · 92%
sudo apt install autossh

Debian stable package indexes · autossh · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install autossh

Fedora Rawhide package metadata · autossh · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#autossh

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

Arch Linux pacman已验证 · 92%
sudo pacman -S autossh

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

openSUSE zypper已验证 · 92%
sudo zypper install autossh

openSUSE Tumbleweed package metadata · autossh · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/autossh

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

概览

软件包摘要

Automatically restart SSH sessions and tunnels

命令和别名

  • autossh
  • rscreen

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:ssh

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
autossh可执行文件已索引可执行文件从本地可执行文件索引发现。
rscreen可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.4g
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:autossh
版本1.4g
软件包管理器Homebrew
主页https://www.harding.motd.ca/autossh/
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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-22.fc45

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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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 依赖
  • normalized package name match
  • 匹配方式: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.25

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Autossh
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: autossh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

autossh

sudo port install autossh
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation