Displaying 2 results from an estimated 2 matches for "cauthmethod".
Did you mean:
authmethod
2018 Feb 23
2
Attempts to connect to Axway SFTP server result in publickey auth loopin
...and mark the successful one to not be used again. This seems to
behave as expected against a server hacked up to behave more or less as
you describe.
diff --git a/sshconnect2.c b/sshconnect2.c
index 8138e46..3f475d9 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -246,6 +246,7 @@ typedef struct cauthmethod Authmethod;
typedef struct identity Identity;
typedef struct idlist Idlist;
+#define IDENTITY_SUCCESSFUL 0x1000
struct identity {
TAILQ_ENTRY(identity) next;
int agent_fd; /* >=0 if agent supports key */
@@ -268,6 +269,7 @@ struct cauthctxt {
int attempt;
/* pubkey */
struct idli...
2018 Feb 22
3
Attempts to connect to Axway SFTP server result in publickey auth loopin
We are attempting to use openssh sftp to connect to a server that is
running some version of the Axway SFTP server. After a publickey auth
completes, the server resends publickey as a valid auth. This results in
a loop as openssh sftp resubmits the publickey information. This seems
similar to a discussion in 2014 that terminated with the thought that it
might be nice if the client tracked