How to Install and Uninstall autossh Package on Ubuntu 21.10 (Impish Indri)

Last updated: January 09,2025

1. Install "autossh" package

Please follow the instructions below to install autossh on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install autossh

2. Uninstall "autossh" package

In this section, we are going to explain the necessary steps to uninstall autossh on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove autossh $ sudo apt autoclean && sudo apt autoremove

3. Information about the autossh package on Ubuntu 21.10 (Impish Indri)

Package: autossh
Architecture: amd64
Version: 1.4g-1
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Axel Beckert
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 87
Depends: openssh-client | ssh-client, libc6 (>= 2.14)
Enhances: openssh-client, ssh-client
Filename: pool/universe/a/autossh/autossh_1.4g-1_amd64.deb
Size: 29208
MD5sum: fd623c6a82ae708e5370f1f61b9f717b
SHA1: 7f4fdd5aae08b9877493a47e827880016de5f4de
SHA256: 8efbb9e9c762e8f4c422173316440db112b7d791d0df53f35f664e50862d720c
SHA512: ff36d407d81606c872fdf7603317c95edcbfef2e2120a172756679100100db40395064b22ea4d463c345411b2b45ac49b20b09585be486e99d9150b99dde9a59
Homepage: https://www.harding.motd.ca/autossh/
Description-en: Automatically restart SSH sessions and tunnels
autossh is a program to start an instance of ssh and monitor it, restarting it
as necessary should it die or stop passing traffic. The idea is from rstunnel
(Reliable SSH Tunnel), but implemented in C. Connection monitoring is done
using a loop of port forwardings. It backs off on the rate of connection
attempts when experiencing rapid failures such as connection refused.
Description-md5: afc4e3df7fe4354ae0619b353327cc51