作者 主題: RedHat 6.2 OpenSSH_2.5.1p2 要設定.廢除密碼登錄, 強迫使用 RSA 驗證...  (閱讀 2998 次)

0 會員 與 1 訪客 正在閱讀本文。

shinhrn

  • 懷疑的國中生
  • **
  • 文章數: 31
    • 檢視個人資料
我有一台供內部使用的機器
RedHat 6.2
OpenSSH_2.5.1p2

我想依
http://www.study-area.org/tips/ssh_tips.htm
設定
RSAAuthentication yes
PubkeyAuthentication yes
PasswordAuthentication no
可是都無效??
不知是否是版本太舊了 Crying or Very sad

ps:我試過3台fedora core 1,RedHat 9.0都可以
不知有什麼方式可以達成??

May 24 11:12:50 www PAM_pwdb[26172]: (su) session opened for user root by users001(uid=507)
May 24 11:12:56 www modprobe: modprobe: Can't locate module net-pf-10
May 24 11:12:56 www sshd[26208]: fatal: Cannot bind any address.
May 24 11:20:39 www sshd[26337]: Failed none for users001 from 192.168.1.1 port 4690 ssh2
May 24 11:20:39 www sshd[26337]: Failed keyboard-interactive for users001 from 192.168.1.1 port 4690 ssh2
May 24 11:20:40 www sshd[26337]: Received disconnect from 192.168.1.1: 13: Authentication cancelled by user.
May 24 11:39:49 www sshd[26572]: error: setsockopt SO_KEEPALIVE: Socket operation on non-socket
May 24 11:39:49 www sshd[26572]: warning: can't get client address: Socket operation on non-socket
May 24 11:39:49 www sshd[26572]: refused connect from unknown
May 24 12:19:55 www sshd[27232]: Failed publickey for users001 from 192.168.1.1 port 2438 ssh2
May 24 12:19:55 www sshd[27232]: Failed none for users001 from 192.168.1.1 port 2438 ssh2
May 24 12:19:55 www sshd[27232]: Failed keyboard-interactive for users001 from 192.168.1.1 port 2438 ssh2
May 24 12:20:14 www sshd[27256]: Accepted password for users001 from 192.168.1.1 port 2445 ssh2

shinhrn

  • 懷疑的國中生
  • **
  • 文章數: 31
    • 檢視個人資料
之前發文居然是亂碼...真不好意思..再補一下..請各位大大幫忙..

netman

  • 管理員
  • 俺是博士!
  • *****
  • 文章數: 17484
    • 檢視個人資料
    • http://www.study-area.org
哇,那麼舊?!