LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SSH to use CHAP (https://www.linuxquestions.org/questions/linux-software-2/ssh-to-use-chap-896542/)

chesschi 08-10-2011 08:06 AM

SSH to use CHAP
 
Hello!

I try to authenticate ssh users via PAM using FreeRadius. Is it possible to use CHAP for the authentication between radius server and radius client?

SSH client -> SSH server <- PAM -> Radius Client <- CHAP-> Radius Server

For example, if I specify in radius server to use CHAP auth-type for a particular user, e.g. in users file:
Code:

sshuser Auth-type := Chap, Cleartext-Password := "xxx"
When I use an SSH client to login, the following error is shown in radius server.
Code:

[chap] rlm_chap: Attribute "CHAP-Password" is required for authentication.
So is there a way to actually specify the CHAP-Password in radius client so that it can be authenticated via CHAP? If yes, which file I should modify?

Thanks a lot!!!


All times are GMT -5. The time now is 04:35 PM.