How to Install and Uninstall openssh-server Package on Debian 12 (Bookworm)
Last updated: April 29,2024
Notice
You can also install and uninstall the openssh-server on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "openssh-server" package
This tutorial shows how to install openssh-server on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
openssh-server
Copied
2. Uninstall "openssh-server" package
This is a short guide on how to uninstall openssh-server on Debian 12 (Bookworm):
$
sudo apt remove
openssh-server
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the openssh-server package on Debian 12 (Bookworm)
Package: openssh-server
Source: openssh
Version: 1:9.2p1-2+deb12u2
Installed-Size: 1926
Maintainer: Debian OpenSSH Maintainers
Architecture: amd64
Replaces: openssh-client (<< 1:7.9p1-8), ssh, ssh-krb5
Provides: ssh-server
Depends: adduser, libpam-modules, libpam-runtime, lsb-base, openssh-client (= 1:9.2p1-2+deb12u2), openssh-sftp-server, procps, ucf, debconf (>= 0.5) | debconf-2.0, runit-helper (>= 2.14.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.11), libsystemd0, libwrap0 (>= 7.6-4~), zlib1g (>= 1:1.1.4)
Pre-Depends: init-system-helpers (>= 1.54~)
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-51~)
Description: secure shell (SSH) server, for secure access from remote machines
Description-md5: 842cc998cae371b9d8106c1696373919
Multi-Arch: foreign
Homepage: https://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_9.2p1-2+deb12u2_amd64.deb
Size: 456120
MD5sum: f0930c1b2118e1f0a3c541aa71ac591a
SHA256: b923ffe6b52077d12d4572dd1bebbd88307441411e8464e6baf556ea7bd95c0e
Source: openssh
Version: 1:9.2p1-2+deb12u2
Installed-Size: 1926
Maintainer: Debian OpenSSH Maintainers
Architecture: amd64
Replaces: openssh-client (<< 1:7.9p1-8), ssh, ssh-krb5
Provides: ssh-server
Depends: adduser, libpam-modules, libpam-runtime, lsb-base, openssh-client (= 1:9.2p1-2+deb12u2), openssh-sftp-server, procps, ucf, debconf (>= 0.5) | debconf-2.0, runit-helper (>= 2.14.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.11), libsystemd0, libwrap0 (>= 7.6-4~), zlib1g (>= 1:1.1.4)
Pre-Depends: init-system-helpers (>= 1.54~)
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-51~)
Description: secure shell (SSH) server, for secure access from remote machines
Description-md5: 842cc998cae371b9d8106c1696373919
Multi-Arch: foreign
Homepage: https://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_9.2p1-2+deb12u2_amd64.deb
Size: 456120
MD5sum: f0930c1b2118e1f0a3c541aa71ac591a
SHA256: b923ffe6b52077d12d4572dd1bebbd88307441411e8464e6baf556ea7bd95c0e