centos 6.8 ssh安装及配置

1. dnf安装ssh   dnf -y install ssh   2. 启动ssh   service sshd start   3.开机自动运行启动   chkconfig sshd on   4.ssh文件配置   [root@linux234 ~]# vi /etc/ssh/sshd_config  ← 用vi打开SSH的配置文件 #Protocol 2,1 ← 找到此行将行头“#”删除
相关文章
相关标签/搜索