Re: Challenge/response authentication
- From: Jacob Nevins <jacobn@xxxxxxxxxxxxxxxxxxxxxx>
- Date: 07 Feb 2006 16:05:16 +0000 (GMT)
Smythe de Winter <sdw@xxxxxxxxx> writes:
Looking into the OpenSSH documentation, it explicitly indicates that[...]
the SSH client can support such an authentication mechanism by setting the
symbol ChallengeResponseAuthentication appropriately in the client's
configuration file.
However, what is not specified is how the SSH server and client select[...]
the particular challenge/response method supported, and there exist quite
a few different ones in principle allowed. Things would also seem to imply
that external modules are required for challenge/response authentication
with OpenSSH; is this true?
Finally, I also find it a bit confusing that neither the SSH V1[...]
protocol nor the SSH V2 protocol standard documents mention
challenge/response authentication as one of the protocol supported
authentication mechanisms.
Can anybody throw some light on all this?
OpenSSH's "ChallengeResponseAuthentication" appears to map on to
protocol features as follows:
* In SSH-1, it maps on to "TIS authentication", which is specified in
the nearest thing SSH-1 has to a standard, a copy of which is at
<http://www.snailbook.com/docs/protocol-1.5.txt>.
* In SSH-2, it maps on to "keyboard-interactive authentication", which
while not technically one of the "core" SSH-2 RFCs, is specified in
RFC 4256 and widely implemented.
Both of these are authentication methods where (slightly simplified) the
server sends strings (challenges) to the client, the client displays
them to the user verbatim, the user enters a response, and the client
sends that response to the server. The client knows nothing about the
semantics of the challenge or response, it's just shovelling data
between the server and the user.
So, to use a particular form of challenge-response authentication (such
as S/Key), all you need to do is configure the server to use it as a
backend (a process I know little about, but I wouldn't be surprised if
PAM is involved in many cases), and any client implementing the above
methods will be able to use it.
.
- Follow-Ups:
- Re: Challenge/response authentication
- From: Smythe de Winter
- Re: Challenge/response authentication
- From: Richard E. Silverman
- Re: Challenge/response authentication
- References:
- Challenge/response authentication
- From: Smythe de Winter
- Challenge/response authentication
- Prev by Date: Re: Changed public/private key, but can still login
- Next by Date: Re: Challenge/response authentication
- Previous by thread: Challenge/response authentication
- Next by thread: Re: Challenge/response authentication
- Index(es):
Relevant Pages
|