How to Install and Uninstall openssh-server Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: April 29,2024

1. Install "openssh-server" package

Please follow the steps below to install openssh-server on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install openssh-server

2. Uninstall "openssh-server" package

This guide covers the steps necessary to uninstall openssh-server on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the openssh-server package on Ubuntu 22.10 (Kinetic Kudu)

Package: openssh-server
Architecture: amd64
Version: 1:9.0p1-1ubuntu3
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: 1508
Provides: ssh-server
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: adduser (>= 3.9), dpkg (>= 1.9.0), libpam-modules (>= 0.72-9), libpam-runtime (>= 0.76-14), lsb-base (>= 4.1+Debian3), openssh-client (= 1:9.0p1-1ubuntu3), openssh-sftp-server, procps, ucf (>= 0.28), debconf (>= 0.5) | debconf-2.0, libaudit1 (>= 1:2.2.1), libc6 (>= 2.36), 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.5), 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.0p1-1ubuntu3_amd64.deb
Size: 430062
MD5sum: 4af3f627dea442add71c917a5a263b37
SHA1: e3739a76ea0e97df611ff325c032642ce606c120
SHA256: fb3b5e98edc8792b10b58fa3dc2996ac1de5d8570031d719007ac93d8120e8d2
SHA512: f0ffc96e7a7e5831a440917a042a6b631e9d1dfc9002763d37829d4017075a06a3bfeac51b1fc99905e31e7170561f047e78b80bccfb6151523450328a086262
Homepage: http://www.openssh.com/
Description: secure shell (SSH) server, for secure access from remote machines
Description-md5: 842cc998cae371b9d8106c1696373919
Task: cloud-image, openssh-server