Page 1 of 1

SFTP client publickey authentication

Posted: Thu 08 May 2014 10:11
by csife
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?

Re: SFTP client publickey authentication

Posted: Mon 12 May 2014 09:48
by Dimon
Thank you for the information. We will investigate the possibility of adding this functionality in the next build. As soon as we solve this question we will let you know.

Re: SFTP client publickey authentication

Posted: Wed 21 May 2014 09:30
by Dimon
New version of SecureBridge 6.3.4 has been released. This build must solve the problem.

Re: SFTP client publickey authentication

Posted: Mon 02 Jun 2014 07:40
by csife
Yes, it works perfectly! :)
Thank you wery much for fast solution.

Re: SFTP client publickey authentication

Posted: Mon 02 Jun 2014 08:30
by Dimon
Feel free to contact us if you have any further questions. :D