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 ← 找到此行將行頭「#」刪除
相關文章
相關標籤/搜索