Problem
Sometimes if you use SFTP Connection along with SSIS Secure FTP Task or ZappySys SFTP Driver like this one then you may receive below error.
Invalid password or bad data
Possible Cause
You may be using Private Key along with User ID and Password and ZappySys SFTP Connection is unable to load Private Key (May be key file is bad or password is invalid)
Possible Solution
- First Make sure your PassPhrase is correct
- Also try to use some Client tools like FileZilla / WinSCP see they can connect to remote FTP site using same settings you used with ZappySys SFTP connection
- If same settings worked with FileZilla then you can try to use alternate Private Key file format using below steps see it helps. If settings fail in FileZilla too means its not ZappySys issue, something is wrong with file format or password.
Convert Private Key to OpenSSH format
- Download Puttygen Utility from below link (Extract exe to some folder and double click to run)
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html - Click on Load button and locate your Private Key file (e.g. *.ppk file). It may prompt you for PassPhrase.
- Once file is loaded you will see some information about private key data.
- Now go to top menu Conversion > Export OpenSSH Key
- If prompted enter same PassPhrase save converted key.
- Now go to SFTP Connection and test again see it works.
You setting might look like below
More Settings for Legacy Server (Optional)
In some cases you might get below error in that case few more settings needs to be changed to support legacy SFTP servers
Comments
0 comments
Please sign in to leave a comment.