How to Install and Uninstall openssh-server Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 29,2024

1. Install "openssh-server" package

This guide covers the steps necessary to install openssh-server on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install openssh-server

2. Uninstall "openssh-server" package

Learn how to uninstall openssh-server on Ubuntu 21.10 (Impish Indri):

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

3. Information about the openssh-server package on Ubuntu 21.10 (Impish Indri)

Package: openssh-server
Architecture: amd64
Version: 1:8.4p1-6ubuntu2
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: 1450
Provides: ssh-server
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:8.4p1-6ubuntu2), openssh-sftp-server, procps, ucf (>= 0.28), debconf (>= 0.5) | debconf-2.0, libaudit1 (>= 1:2.2.1), libc6 (>= 2.34), 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~), libssl1.1 (>= 1.1.1), 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_8.4p1-6ubuntu2_amd64.deb
Size: 381724
MD5sum: 9b1a13d80ddc2a4290878a8e493480be
SHA1: d89cfaaa85f7b14f521136cd2a63557b490323b5
SHA256: f341663fc44993c369ff0651251992e7055b3c39db2eadf865f11ebee722714a
SHA512: 8093055218d05969bdde3a5ede85f31d5d40fd57ce7af71184ef1023f1236bbf63849c013b97054a301807188ffe9776a5a64eaf7b63b6346fd17b1ba2254fef
Homepage: http://www.openssh.com/
Description-en: secure shell (SSH) server, for secure access from remote machines
This is the portable version of OpenSSH, a free implementation of
the Secure Shell protocol as specified by the IETF secsh working
group.
.
Ssh (Secure Shell) is a program for logging into a remote machine
and for executing commands on a remote machine.
It provides secure encrypted communications between two untrusted
hosts over an insecure network. X11 connections and arbitrary TCP/IP
ports can also be forwarded over the secure channel.
It can be used to provide applications with a secure communication
channel.
.
This package provides the sshd server.
.
In some countries it may be illegal to use any encryption at all
without a special permit.
.
sshd replaces the insecure rshd program, which is obsolete for most
purposes.
Description-md5: 842cc998cae371b9d8106c1696373919
Task: cloud-image, openssh-server