Home > Hosting > Server

What is the method of uninstalling ssh on ubuntu

2023-01-04 10:48:06

<p style="text-align: left;">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&#39;s take a look at it together.</p><p style="text-align: left;"><img src="/uploads/allimg/20230104/1-230104105059464.jpg" alt="QQ截图20230104105025.jpg" width="435" height="319" style="width: 435px; height: 319px;"/></p><p style="text-align: left;">1.Use the shortcut key [Ctrl+Alt+T] on the ubuntu system desktop to open the terminal command line mode.</p><p><br/></p><p style="text-align: left;">2. Enter the following command in the ubuntu terminal command line to stop the ssh service:</p><pre class="brush:html;toolbar:false" style="text-align: left;">sudo&nbsp;stop&nbsp;ssh</pre><p><br/></p><p style="text-align: left;">3. Finally, enter the following command to uninstall the ssh client and server That&#39;s it.</p><pre class="brush:html;toolbar:false" style="text-align: left;">apt-get&nbsp;remove&nbsp;openssh-client&nbsp;#Uninstall&nbsp;ssh&nbsp;client apt-get&nbsp;remove&nbsp;openssh-server&nbsp;#Uninstall&nbsp;ssh&nbsp;server</pre><p><br/></p><p style="text-align: left;">Related operation commands:</p><pre class="brush:html;toolbar:false" style="text-align: left;">apt-get&nbsp;install&nbsp;openssh-server&nbsp;#Install&nbsp;ssh&nbsp;server apt-get&nbsp;install&nbsp;openssh-client&nbsp;#Install&nbsp;ssh&nbsp;client sudo&nbsp;/etc/init.d/ssh&nbsp;start&nbsp;#Start&nbsp;ssh&nbsp;service</pre><p><br/></p><p><br/></p><p><br/></p>


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