How to Install and Uninstall ssh Package on Debian 12 (Bookworm)
Last updated: November 22,2024
Notice
You can also install and uninstall the ssh on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "ssh" package
Please follow the step by step instructions below to install ssh on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
ssh
Copied
2. Uninstall "ssh" package
This guide covers the steps necessary to uninstall ssh on Debian 12 (Bookworm):
$
sudo apt remove
ssh
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
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
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