centos安装ssh

1、安装ssh

首先我们就要安装ssh,远程连接的插件,没有这个是不能进行远程连接的

apt-get update
# 先进行更新,防止出现问题

apt-get install openssh-server
# ubuntu的安装代码

yum -y install openssh-server
# centos的安装方法

2、安装net-tools

这个也是必要的工具

apt-get install net-tools
# ubuntu下的安装

yum -y install net-tools
# centos下的安装

接着进行配置:https://www.cnblogs.com/liuhouhou/p/8975812.html

猜你喜欢

转载自www.cnblogs.com/cheneyboon/p/11852872.html