What is the method of uninstalling ssh on ubuntu


Today, the editor will share with you the relevant knowledge points about how to uninstall ssh on ubuntu. , I hope you have gained something after reading this article, let's take a look at it together.


1.Use the shortcut key [Ctrl+Alt+T] on the ubuntu system desktop to open the terminal command line mode.

2. Enter the following command in the ubuntu terminal command line to stop the ssh service:

sudo stop ssh

3. Finally, enter the following command to uninstall the ssh client and server That's it.

apt-get remove openssh-client #Uninstall ssh client
apt-get remove openssh-server #Uninstall ssh server

Related operation commands:

apt-get install openssh-server #Install ssh server
apt-get install openssh-client #Install ssh client
sudo /etc/init.d/ssh start #Start ssh service

Copyright Description:No reproduction without permission。

Knowledge sharing community for developers。

Let more developers benefit from it。

Help developers share knowledge through the Internet。

Follow us