How to Install and Uninstall openssh-server Package on Kali Linux

Last updated: April 29,2024

1. Install "openssh-server" package

This tutorial shows how to install openssh-server on Kali Linux

$ sudo apt update $ sudo apt install openssh-server

2. Uninstall "openssh-server" package

Please follow the step by step instructions below to uninstall openssh-server on Kali Linux:

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

3. Information about the openssh-server package on Kali Linux

Package: openssh-server
Source: openssh
Version: 1:9.6p1-4
Installed-Size: 1804
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.6p1-4), 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.0), 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~)
Size: 455620
SHA256: 63bdbca071d3abc6429d79a361f409a2f5c48f5ba2e8e109e2d462ce88059a26
SHA1: f1aabbcda95a29d35550f777f77f202bc6dc6449
MD5sum: a493fa442a94152202a21e371448cff3
Description: secure shell (SSH) server, for secure access from remote machines
This is the portable version of OpenSSH, a free implementation of
the Secure Shell protocol as specified by the IETF secsh working
group.
.
Ssh (Secure Shell) is a program for logging into a remote machine
and for executing commands on a remote machine.
It provides secure encrypted communications between two untrusted
hosts over an insecure network. X11 connections and arbitrary TCP/IP
ports can also be forwarded over the secure channel.
It can be used to provide applications with a secure communication
channel.
.
This package provides the sshd server.
.
In some countries it may be illegal to use any encryption at all
without a special permit.
.
sshd replaces the insecure rshd program, which is obsolete for most
purposes.
Description-md5:
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.6p1-4_amd64.deb