Linux入门学习-ubuntu中openssh的安装、卸载

知识点1:ubuntu是debian系统的Linux系统发行版。
知识点2:想通过xshell等工具远程到Linux上,需要有openssh支持。
知识点3:debian系统的Linux默认软件包管理器是apt

一、openssh干净卸载

sudo apt-get remove openssh-server openssh-client --purge -y
卸载软件,同时清除openssh的配置文件(/etc/ssh目录下)

二、openssh安装

apt-get install openssh-server openssh-client

三、openssh重启

systemctl restart ssh

猜你喜欢

转载自blog.csdn.net/babdpfi/article/details/122969067