diff options
author | Mike Frysinger <vapier@gentoo.org> | 2018-10-27 23:31:53 -0400 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-10-28 12:15:02 +0100 |
commit | 963c3077a401794f62b0e19be4cbb2eabc6c38a2 (patch) | |
tree | 41579740058478724352ea38dacb89bc18d4b27b /doc/authentication.dox | |
parent | a2807474621e51b386ea26ce2a01d2b1aa295c7b (diff) | |
download | libssh-963c3077a401794f62b0e19be4cbb2eabc6c38a2.tar.gz libssh-963c3077a401794f62b0e19be4cbb2eabc6c38a2.tar.xz libssh-963c3077a401794f62b0e19be4cbb2eabc6c38a2.zip |
doc: fix up various typos and trailing whitespace
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'doc/authentication.dox')
-rw-r--r-- | doc/authentication.dox | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/authentication.dox b/doc/authentication.dox index 7a0023e3..ec6f1936 100644 --- a/doc/authentication.dox +++ b/doc/authentication.dox @@ -127,7 +127,7 @@ The keyboard-interactive method is, as its name tells, interactive. The server will issue one or more challenges that the user has to answer, until the server takes an authentication decision. -ssh_userauth_kbdint() is the the main keyboard-interactive function. +ssh_userauth_kbdint() is the the main keyboard-interactive function. It will return SSH_AUTH_SUCCESS,SSH_AUTH_DENIED, SSH_AUTH_PARTIAL, SSH_AUTH_ERROR, or SSH_AUTH_INFO, depending on the result of the request. @@ -154,9 +154,9 @@ Here are a few remarks: - Even the first call can return SSH_AUTH_DENIED or SSH_AUTH_SUCCESS. - The server can send an empty question set (this is the default behavior on my system) after you have sent the answers to the first questions. - You must still parse the answer, it might contain some + You must still parse the answer, it might contain some message from the server saying hello or such things. Just call - ssh_userauth_kbdint() until needed. + ssh_userauth_kbdint() until needed. - The meaning of "name", "prompt", "instruction" may be a little confusing. An explanation is given in the RFC section that follows. @@ -187,7 +187,7 @@ keyboard-interactive authentication, coming from the RFC itself (rfc4256): the name and prompts. If the server presents names or prompts longer than 30 characters, the client MAY truncate these fields to the length it can display. If the client does truncate any fields, there MUST be an obvious - indication that such truncation has occured. + indication that such truncation has occurred. The instruction field SHOULD NOT be truncated. Clients SHOULD use control character filtering as discussed in [SSH-ARCH] to avoid attacks by |