Error with script
Hello,
I have an issue with a script, which I created with a manual of WinSCP (https://winscp.net/eng/docs/script_upload_single_file).
I used user, password, server and ssh key as described, but I receive an authentication error.
"Access denied. Connection has been unexpectectedly closed. Server sent command exit status 0. Authentication failed."
When I use the script without password and enter it manually in the command line, everything works fine and I don't get an authentication error. Can anyone help? Is this a problem of the script or with my FTP server? I use a Synology NAS Storage as FTP server.
Thank you for your help.
I have an issue with a script, which I created with a manual of WinSCP (https://winscp.net/eng/docs/script_upload_single_file).
open sftp://user:password@servername/ -hostkey="ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
I used user, password, server and ssh key as described, but I receive an authentication error.
"Access denied. Connection has been unexpectectedly closed. Server sent command exit status 0. Authentication failed."
When I use the script without password and enter it manually in the command line, everything works fine and I don't get an authentication error. Can anyone help? Is this a problem of the script or with my FTP server? I use a Synology NAS Storage as FTP server.
Thank you for your help.