linux 安装ssh

安装命令:

sudo apt install openssh-client #本地主机运行此条,实际上通常是默认安装client端程序的
sudo apt install openssh-server #在被连接的服务器运行此条命令安装

 

安装完成后通过以下指令启动:

1 $ sudo /etc/init.d/ssh start

启动后通过以下指令判断SSH服务是否正确启动:

$ ps -e | grep ssh
posted @ 2020-10-29 14:35  LuoSpider  阅读(353)  评论(0编辑  收藏  举报