How to Install and Uninstall openssh-server Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: April 29,2024

1. Install "openssh-server" package

Please follow the instructions below to install openssh-server on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install openssh-server

2. Uninstall "openssh-server" package

Please follow the steps below to uninstall openssh-server on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove openssh-server $ sudo apt autoclean && sudo apt autoremove

3. Information about the openssh-server package on Ubuntu 24.04 LTS (Noble Numbat)

Package: openssh-server
Architecture: amd64
Version: 1:9.6p1-3ubuntu2
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: 1625
Provides: ssh-server
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: adduser, libpam-modules, libpam-runtime, lsb-base, openssh-client (= 1:9.6p1-3ubuntu2), openssh-sftp-server, procps, ucf, debconf (>= 0.5) | debconf-2.0, libaudit1 (>= 1:2.2.1), libc6 (>= 2.38), libcom-err2 (>= 1.43.9), libcrypt1 (>= 1:4.1.0), libgssapi-krb5-2 (>= 1.17), libkrb5-3 (>= 1.13~alpha1+dfsg), libpam0g (>= 0.99.7.1), libselinux1 (>= 3.1~), libssl3 (>= 3.0.10), libsystemd0, libwrap0 (>= 7.6-4~), zlib1g (>= 1:1.1.4)
Recommends: default-logind | logind | libpam-systemd, ncurses-term, xauth, ssh-import-id
Suggests: molly-guard, monkeysphere, ssh-askpass, ufw
Conflicts: sftp, ssh-socks, ssh2
Replaces: openssh-client (<< 1:7.9p1-8), ssh, ssh-krb5
Filename: pool/main/o/openssh/openssh-server_9.6p1-3ubuntu2_amd64.deb
Size: 429182
MD5sum: 2a8a8070c0cb55ac3dd82dd74b07531e
SHA1: bce7ec6066ba24f0d41abfcc9b60d287a9dfc670
SHA256: 8a85100dd11eb806be49aa1881b837178919987b188917c02c0c82d0cb9d9cbc
SHA512: c8f057dba8cd5ef59da152f0444105ce5f3721c6ffb692303ebce8ae00ddbd32b779d5cc3e5d4495bc6a178eb9674e724d18b2e9eed1737c091235d087549c39
Homepage: https://www.openssh.com/
Description: secure shell (SSH) server, for secure access from remote machines
Description-md5: 842cc998cae371b9d8106c1696373919
Task: cloud-minimal, cloud-image, server-live, openssh-server