|
I am trying to make a connection prior to buying this component for our company. The server is rejecting our Public Key. Here is a snippet of the code and the login call. Do we need to do anything special to register the key on the client machine? Any advice would be hugely appreciate else we will need to go different route for SFTP component.
|
|
You don't need to register the public or private key on the client machine. Loading it into If this doesn't work, the problem is caused by something else – it looks like the key was rejected by the server. The most likely cause of this is that the public key corresponding to your private key was not set up properly at the server side. Would it be possible to verify that? To make sure the problem is not caused by Rebex SFTP, please try connecting using a third-party SFTP client such as WinSCP or PuTTY's psftp utility (both are free) using the same private key. Does it work? |