SFTP client publickey authentication

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
csife
Posts: 2
Joined: Thu 08 May 2014 09:27

SFTP client publickey authentication

Post by csife » 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?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: SFTP client publickey authentication

Post by Dimon » Mon 12 May 2014 09:48

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.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: SFTP client publickey authentication

Post by Dimon » Wed 21 May 2014 09:30

New version of SecureBridge 6.3.4 has been released. This build must solve the problem.

csife
Posts: 2
Joined: Thu 08 May 2014 09:27

Re: SFTP client publickey authentication

Post by csife » Mon 02 Jun 2014 07:40

Yes, it works perfectly! :)
Thank you wery much for fast solution.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: SFTP client publickey authentication

Post by Dimon » Mon 02 Jun 2014 08:30

Feel free to contact us if you have any further questions. :D

Post Reply