How to Install and Uninstall openssh-server Package on Debian 11 (Bullseye)

Last updated: November 26,2024

1. Install "openssh-server" package

This guide let you learn how to install openssh-server on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install openssh-server

2. Uninstall "openssh-server" package

Please follow the guidelines below to uninstall openssh-server on Debian 11 (Bullseye):

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

3. Information about the openssh-server package on Debian 11 (Bullseye)

Package: openssh-server
Source: openssh
Version: 1:8.4p1-5+deb11u1
Installed-Size: 1567
Maintainer: Debian OpenSSH Maintainers
Architecture: amd64
Replaces: openssh-client (<< 1:7.9p1-8), ssh, ssh-krb5
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-5+deb11u1), openssh-sftp-server, procps, ucf (>= 0.28), debconf (>= 0.5) | debconf-2.0, runit-helper (>= 2.10.0~), libaudit1 (>= 1:2.2.1), libc6 (>= 2.26), 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
Suggests: molly-guard, monkeysphere, ssh-askpass, ufw
Conflicts: sftp, ssh-socks, ssh2
Breaks: runit (<< 2.1.2-36~)
Description: secure shell (SSH) server, for secure access from remote machines
Description-md5: 842cc998cae371b9d8106c1696373919
Multi-Arch: foreign
Homepage: http://www.openssh.com/
Tag: admin::login, implemented-in::c, interface::daemon, network::server,
protocol::ssh, role::program, security::authentication,
security::cryptography, use::login, use::transmission
Section: net
Priority: optional
Filename: pool/main/o/openssh/openssh-server_8.4p1-5+deb11u1_amd64.deb
Size: 385360
MD5sum: 718a1df948f88394a18ebcbf7585318e
SHA256: 7118fe69fee753a08480c97d9d873dfca7c7a6972366515ae26d8428301a0dea