The server rejected SFTP connection, but it listens for FTP connections.
I already changed the port number in the software WinSCP but still getting this error.
Does anyone have a solution for this?
Advertisement
Advertisement
Can you connect with any other SFTP/SSH client?
Can you connect with any other SFTP/SSH client?
I can log in by using FileZilla.
So please post logs both from the script and GUI.Let me correct myself. I used WinSCP to do backup for my server. And I used an automation script to copy backup file from my server to HDD. I can log into the server by WinSCP but the backup automation is rejected.
Advertisement
So please post logs both from the script and GUI.
Though I would guess that the problem is due to a host key verification.
See https://winscp.net/eng/docs/faq_scheduler
option batch abort option confirm off open %1% -hostkey="%2%" synchronize local %3% "%4%" exit
rem vps10 winscp.com /ini=nul /script=SyncToLocalScript.txt /parameter sftp://xxxLOGINIDxxx:xxxPASSWORDxxx@xxxIPADDRESSxxx "ssh-ed25519 255 xxxSHA-256IDxxx="xxxSOURCExxx" xxxDESTINATIONxxx
If you want our help, then you need to provide us the information we ask for.Anyone? Please help me.
If you want our help, then you need to provide us the information we ask for.Anyone? Please help me.
Once again: Please post logs both from the script and GUI.
Advertisement
Advertisement
You can post new topics in this forum