How to Install and Uninstall ssh Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "ssh" package

Please follow the steps below to install ssh on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ssh

2. Uninstall "ssh" package

Please follow the guidelines below to uninstall ssh on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the ssh package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ssh
Architecture: all
Version: 1:7.2p2-4ubuntu2.10
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: 99
Pre-Depends: dpkg (>= 1.17.5)
Depends: openssh-client (>= 1:7.2p2-4ubuntu2.10), openssh-server (>= 1:7.2p2-4ubuntu2.10)
Filename: pool/main/o/openssh/ssh_7.2p2-4ubuntu2.10_all.deb
Size: 7072
MD5sum: bd34f8c2c633ba86de55b9d9d80cc4ea
SHA1: 9bb28afd046135934ddbea6f2b4c8484d3ac174b
SHA256: d95d213f014b70c028fbb765121ad16cfca887a5c443fb2148f22e1b08ae85e3
SHA512: 3fb40bde6643cd26c3b087288b5ed190a9f7e2af93b32839555d2db65214b33a893f2dff0f18d5c1ed2a0392649de40b470800e8cafcbca17db48547117ce3f9
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
Supported: 5y

Package: ssh
Architecture: all
Version: 1:7.2p2-4ubuntu2.8
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: 98
Pre-Depends: dpkg (>= 1.17.5)
Depends: openssh-client (>= 1:7.2p2-4ubuntu2.8), openssh-server (>= 1:7.2p2-4ubuntu2.8)
Filename: pool/main/o/openssh/ssh_7.2p2-4ubuntu2.8_all.deb
Size: 7074
MD5sum: 2817107782f076785a8788d0dcecbf18
SHA1: d8db68a9b92adb7f3acc0a6d3a854f693c1e17b6
SHA256: 3c59ee8c8b4cc5fcd01be6c8d777a8d84b84133810a0fc4085bd91622aa4ac2b
SHA512: febc0e35d9ab1a7af1e9e7a632c09ea8ba807729188209ff77851c132614cd46759c5d7da607a9ea0b9d3546a59070c4fe6f9ca6faa9ea61acaf9cd8f63b3a50
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
Supported: 5y

Package: ssh
Priority: optional
Section: net
Installed-Size: 96
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenSSH Maintainers
Architecture: all
Source: openssh
Version: 1:7.2p2-4
Depends: openssh-client (>= 1:7.2p2-4), openssh-server (>= 1:7.2p2-4)
Pre-Depends: dpkg (>= 1.17.5)
Filename: pool/main/o/openssh/ssh_7.2p2-4_all.deb
Size: 7064
MD5sum: 7d3daba7823b9cb67c14811e3f6639d5
SHA1: 5399910c0db99cf3b73c3c78899d209e609f6fe6
SHA256: c8e785d186c8b1c457d652cb431eff7d77fcfcf99851780f5dc07b3575bdbb80
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
Homepage: http://www.openssh.com/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y