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

Last updated: May 19,2024

1. Install "ssh" package

This guide covers the steps necessary to install ssh on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ssh

2. Uninstall "ssh" package

Please follow the instructions below to uninstall ssh on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove ssh $ sudo apt autoclean && sudo apt autoremove

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

Package: ssh
Architecture: all
Version: 1:8.4p1-6ubuntu2
Multi-Arch: foreign
Priority: optional
Section: net
Source: openssh
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenSSH Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 122
Pre-Depends: dpkg (>= 1.17.5)
Depends: openssh-client (>= 1:8.4p1-6ubuntu2), openssh-server (>= 1:8.4p1-6ubuntu2)
Filename: pool/main/o/openssh/ssh_8.4p1-6ubuntu2_all.deb
Size: 5016
MD5sum: 2c6faea2c938c2401b1868040dccae3a
SHA1: 1d5c1f5d184007ba0af3dbd3ff555f5eb81b44b8
SHA256: c360a427218a369d42dedce39bd8476feaade410ce9914aa98300715876f8a41
SHA512: e9a6404416558882cf8a29615278e5de46708ac444a3b91dfb6d1ee2231be9ff65c3e7bca308415fd35fc6f8977093fb06273af06360d1877bad29829019f4cd
Homepage: http://www.openssh.com/
Description-en: secure shell client and server (metapackage)
This metapackage is a convenient way to install both the OpenSSH client
and the OpenSSH server. It provides nothing in and of itself, so you
may remove it if nothing depends on it.
Description-md5: b00e309365895c14a10af55945efb136