SFTP Sync Script Error
I am using a PowerShell script posted on his site to transfer files from an SFTP site to a local server. Up until recently, it was working but stopped 2 weeks ago and looking at the log I am getting this error message when it runs.
[08/19/2019 12:20:31] Sync Started
[08/19/2019 12:20:31] Error: Exception calling "Open" with "1" argument(s): "Disconnected: No supported authentication methods available (server sent: publickey)
Authentication log (see session log for details):
I created a public/private key using putty and I obtained the fingerprint from the win SCP app but I am struggling to get past this. I know the keys have not changed. Does anyone have any ideas?
[08/19/2019 12:20:31] Sync Started
[08/19/2019 12:20:31] Error: Exception calling "Open" with "1" argument(s): "Disconnected: No supported authentication methods available (server sent: publickey)
Authentication log (see session log for details):
I created a public/private key using putty and I obtained the fingerprint from the win SCP app but I am struggling to get past this. I know the keys have not changed. Does anyone have any ideas?