How to Install and Uninstall ssh Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 22,2024

1. Install "ssh" package

This tutorial shows how to install ssh on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install ssh

2. Uninstall "ssh" package

Learn how to uninstall ssh on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the ssh package on Ubuntu 20.04 LTS (Focal Fossa)

Package: ssh
Architecture: all
Version: 1:8.2p1-4ubuntu0.11
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: 118
Pre-Depends: dpkg (>= 1.17.5)
Depends: openssh-client (>= 1:8.2p1-4ubuntu0.11), openssh-server (>= 1:8.2p1-4ubuntu0.11)
Filename: pool/main/o/openssh/ssh_8.2p1-4ubuntu0.11_all.deb
Size: 5084
MD5sum: 4dfe2419a0e0b84ed9c7cda603feedf2
SHA1: 949d21cf00f84bf04749dee104ed7953269592a8
SHA256: 9c142542899c072279b1bbb22882b5dbff6ef094808cfedd5e3e220b3744dd77
SHA512: bc6f33eaf56319d47c0046ab7e6d49267c974608860e51809818173cb23b84dc5e8a95ef006c2edef4b60ce15d834d14c05c0bfe77560772d2fb49fcaa5fd3db
Homepage: http://www.openssh.com/
Description: secure shell client and server (metapackage)
Description-md5: b00e309365895c14a10af55945efb136

Package: ssh
Architecture: all
Version: 1:8.2p1-4
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: 117
Pre-Depends: dpkg (>= 1.17.5)
Depends: openssh-client (>= 1:8.2p1-4), openssh-server (>= 1:8.2p1-4)
Filename: pool/main/o/openssh/ssh_8.2p1-4_all.deb
Size: 5072
MD5sum: 8458a9ef29438a18bc9b5147b8c07c21
SHA1: aaaadb79c9d54f3b74d0c5ad6248f364514384ef
SHA256: 0b95e6a28e5d081c277ec84217c4662546e58b2ea9a498533bdbcea8f835fb67
Homepage: http://www.openssh.com/
Description: secure shell client and server (metapackage)
Description-md5: b00e309365895c14a10af55945efb136