How to Install and Uninstall openssh-server Package on Debian 10 (Buster)

Last updated: November 06,2024

1. Install "openssh-server" package

Please follow the steps below to install openssh-server on Debian 10 (Buster)

$ sudo apt update $ sudo apt install openssh-server

2. Uninstall "openssh-server" package

Learn how to uninstall openssh-server on Debian 10 (Buster):

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

3. Information about the openssh-server package on Debian 10 (Buster)

Package: openssh-server
Source: openssh
Version: 1:7.9p1-10+deb10u2
Installed-Size: 1449
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:7.9p1-10+deb10u2), openssh-sftp-server, procps, ucf (>= 0.28), debconf (>= 0.5) | debconf-2.0, libaudit1 (>= 1:2.2.1), libc6 (>= 2.26), libcom-err2 (>= 1.43.9), libgssapi-krb5-2 (>= 1.17), libkrb5-3 (>= 1.13~alpha1+dfsg), libpam0g (>= 0.99.7.1), libselinux1 (>= 1.32), 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, rssh, ssh-askpass, ufw
Conflicts: sftp, ssh-socks, ssh2
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_7.9p1-10+deb10u2_amd64.deb
Size: 352108
MD5sum: 8e8a6fd269cef560d319f6b32c814d63
SHA256: 65bb2ee2cfce60b83523754c3768578417bbb23af760ddd26d53999f4da0f4e6

Package: openssh-server
Source: openssh
Version: 1:7.9p1-10+deb10u1
Installed-Size: 1449
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:7.9p1-10+deb10u1), openssh-sftp-server, procps, ucf (>= 0.28), debconf (>= 0.5) | debconf-2.0, libaudit1 (>= 1:2.2.1), libc6 (>= 2.26), libcom-err2 (>= 1.43.9), libgssapi-krb5-2 (>= 1.17), libkrb5-3 (>= 1.13~alpha1+dfsg), libpam0g (>= 0.99.7.1), libselinux1 (>= 1.32), libssl1.1 (>= 1.1.1), libsystemd0, libwrap0 (>= 7.6-4~), zlib1g (>= 1:1.1.4)
Suggests: molly-guard, monkeysphere, rssh, ssh-askpass, ufw
Conflicts: sftp, ssh-socks, ssh2
Description: secure shell (SSH) server, for secure access from remote machines
Description-md5: 842cc998cae371b9d8106c1696373919
Homepage: http://www.openssh.com/
Multi-Arch: foreign
Recommends: default-logind | logind | libpam-systemd, ncurses-term, xauth
Section: net
Priority: optional
Filename: pool/updates/main/o/openssh/openssh-server_7.9p1-10+deb10u1_amd64.deb
Size: 351688
MD5sum: 84233ade696dde3eeec5141875bee031
SHA256: eb13f2daac3a5c244a990eccf2956c3d916176dc380d3330fa19ae79112771ab