SFTP client publickey authentication
Posted: Thu 08 May 2014 10:11
Hi,
I use TscSFTPClient+TscSSHClient pair (SecureBridge v6.2.3) and want to connect to an SFTP server with publickey authentication, but I get error message.
I investigated that your scSSHClient component wants to use only one-step athentication sending my private key with signature. OK, its allowed by RFC 4252 standard ("SSH Authentication Protocol"), but my server doesn't. My server accepts only two-step authentication, sending private key without signature first, then with signature if it's OK.
After first step (without signature) the server send SSH_MSG_USERAUTH_PK_OK message, but the component doesn't handle it at all.
Could You implement two-step authentication and an option that allows us to switch between two methods in scSSHClient?
I use TscSFTPClient+TscSSHClient pair (SecureBridge v6.2.3) and want to connect to an SFTP server with publickey authentication, but I get error message.
I investigated that your scSSHClient component wants to use only one-step athentication sending my private key with signature. OK, its allowed by RFC 4252 standard ("SSH Authentication Protocol"), but my server doesn't. My server accepts only two-step authentication, sending private key without signature first, then with signature if it's OK.
After first step (without signature) the server send SSH_MSG_USERAUTH_PK_OK message, but the component doesn't handle it at all.
Could You implement two-step authentication and an option that allows us to switch between two methods in scSSHClient?