How do I set up a SSH backup destination that points to my local Windows Server?

Posted November 19, 2019 2.2k views


I am trying to add a backup destination in my Droplet (Ubuntu 16.08) CyberPanel that points to my local Windows server. I have setup an SSH server on the local Windows Server and created a ‘root’ user. I have tested the SSH access using Putty from another remote machine into the Windows Server, and this works perfectly using the root login.
When I try to add a Backup Destination in Cyber Panel, I get the error:

Cannot add destination. Error message: # Host found: line 1 /root/.ssh/knownhosts updated. Original contents retained as /root/.ssh/knownhosts.old TIMEOUT [sendKey]

What am I doing wrong?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

I was going to ask if you have a static IP but seems you have worked out that home server issue.

That error reads like the host fingerprint of you local machine has changed and ssh is preventing a man in the middle attack. You can clear the line from that know hosts file.

SnapShooter Digitalocean backups

  • Hi Simon, thanks for the quick answer!

    Yes, I have a static IP - no problem there.

    I can’t locate the knownhosts file on the Windows server - there’s no .ssh folder either. I can see knownhosts in the source server (Ubuntu) but clearing the data from the Ubuntu known_hosts does not help.

Hi @ajdunne ,

To be honest, we’re familiar with CyberPanel but windows server. And there’s no windows server nearby that we can test for it. If you can submit the issue to with this post link appended, then our engineers can take a further look.