[問題] CentOS 6 SSH問題
請教版上高手 CentOS 6 kernel 2.6.32-71.el6.i686
已安裝open-ssh和tcp_wrappers
遠端此台電腦被拒絕,message是
ssh_exchange_identification connection closed by remote host
到此台電腦上查看,在/var/log/secure裡看到
sshd[7435]:warning: cannot open /etc/hosts.deny: Permission denied.
sshd[7435]:warning: cannot open /etc/hosts.allow: Permission denied.
接著就refused
嘗試改/etc/hosts.allow hosts.deny的權限也無法(一模一樣的檔在CentOS4上work)
並且也已經將sshd_config改成Protocal 1,2(允許舊版ssh login)
google了一下似乎跟public-key有關?有人遇過類似問題嗎??大感謝!!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.95.251
→
10/25 09:09, , 1F
10/25 09:09, 1F
→
10/25 09:09, , 2F
10/25 09:09, 2F
推
10/25 12:59, , 3F
10/25 12:59, 3F
→
10/25 13:49, , 4F
10/25 13:49, 4F
推
10/25 14:29, , 5F
10/25 14:29, 5F
→
10/25 14:49, , 6F
10/25 14:49, 6F
→
10/25 15:49, , 7F
10/25 15:49, 7F
→
10/25 16:44, , 8F
10/25 16:44, 8F
推
10/25 18:04, , 9F
10/25 18:04, 9F