How to Install and Uninstall ssh Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 19,2024

1. Install "ssh" package

Here is a brief guide to show you how to install ssh on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install ssh

2. Uninstall "ssh" package

Please follow the guidance below to uninstall ssh on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the ssh package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: ssh
Architecture: all
Version: 1:7.6p1-4ubuntu0.7
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: 105
Pre-Depends: dpkg (>= 1.17.5)
Depends: openssh-client (>= 1:7.6p1-4ubuntu0.7), openssh-server (>= 1:7.6p1-4ubuntu0.7)
Filename: pool/main/o/openssh/ssh_7.6p1-4ubuntu0.7_all.deb
Size: 5192
MD5sum: 5cbf8521ac88b44868a45f365abb6396
SHA1: 256a6df770ad0ff9d8efbf3e5cca9b86b8ef6a3c
SHA256: a52cb97a556d02e639dd0d67ee9cdc4b5f8e6a02824c1006647ccd67a1528ef4
SHA512: f481625e50c2a4446d8b8589567c372f639c2a79f9675d4009cb3cc135cc09bc3031c8b77e33ffea761c2229aca820662ec848839b927fcb09b715336d69b150
Homepage: http://www.openssh.com/
Description: secure shell client and server (metapackage)
Description-md5: b00e309365895c14a10af55945efb136
Supported: 5y

Package: ssh
Architecture: all
Version: 1:7.6p1-4ubuntu0.5
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: 105
Pre-Depends: dpkg (>= 1.17.5)
Depends: openssh-client (>= 1:7.6p1-4ubuntu0.5), openssh-server (>= 1:7.6p1-4ubuntu0.5)
Filename: pool/main/o/openssh/ssh_7.6p1-4ubuntu0.5_all.deb
Size: 5200
MD5sum: 38ac3ad9ff02a6fb78ca3f6ec389d82e
SHA1: 1d48eb3c1664df1517855cf1ef56f9d378e2950d
SHA256: b5af619a3bcd9af7d70a877df52d74048573ccf743f5adc77f7f4bc5f89e15fa
SHA512: a85411f7581079a4197f39d5f8ef0b042858aa0c89e310d6fa8910eff5dee9d1c97dcf93c074fca0732d4b01d861b944b69168f34a61bb1eff402c28b3ece58a
Homepage: http://www.openssh.com/
Description: secure shell client and server (metapackage)
Description-md5: b00e309365895c14a10af55945efb136
Supported: 5y

Package: ssh
Architecture: all
Version: 1:7.6p1-4
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: 104
Pre-Depends: dpkg (>= 1.17.5)
Depends: openssh-client (>= 1:7.6p1-4), openssh-server (>= 1:7.6p1-4)
Filename: pool/main/o/openssh/ssh_7.6p1-4_all.deb
Size: 5188
MD5sum: 3d05e093f20077650df745d3d0a73a10
SHA1: a3ea59c14fde92e07a1674ecc0fd0095f8631b2f
SHA256: 692d3e0b7555eaa796cbca6fe2b01501d09d238f311ee6123b835f8ece0d4c9c
Homepage: http://www.openssh.com/
Description: secure shell client and server (metapackage)
Description-md5: b00e309365895c14a10af55945efb136
Supported: 5y