How to Install and Uninstall ssh Package on Debian 12 (Bookworm)

Last updated: May 15,2024

1. Install "ssh" package

Please follow the step by step instructions below to install ssh on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install ssh

2. Uninstall "ssh" package

This guide covers the steps necessary to uninstall ssh on Debian 12 (Bookworm):

$ sudo apt remove ssh $ sudo apt autoclean && sudo apt autoremove

3. Information about the ssh package on Debian 12 (Bookworm)

Package: ssh
Source: openssh
Version: 1:9.2p1-2+deb12u2
Installed-Size: 183
Maintainer: Debian OpenSSH Maintainers
Architecture: all
Depends: openssh-client (>= 1:9.2p1-2+deb12u2), openssh-server (>= 1:9.2p1-2+deb12u2)
Description: secure shell client and server (metapackage)
Description-md5: b00e309365895c14a10af55945efb136
Multi-Arch: foreign
Homepage: https://www.openssh.com/
Tag: interface::shell, network::client, network::server, protocol::ip,
protocol::ipv6, protocol::ssh, role::dummy, role::metapackage,
role::program, scope::utility, security::cryptography, use::login
Section: net
Priority: optional
Filename: pool/main/o/openssh/ssh_9.2p1-2+deb12u2_all.deb
Size: 173984
MD5sum: 2ecaba8966bbe0868d113f4361089440
SHA256: 7bc59d31f1069bbfbdbd4cfcc2e9f17104317c80c6d2b638dd68489dc86267a5