These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Copying backups from server to server SSH on the new forum.
Having played with Virtualmin for a few months, well more like learning as I've had my live sites up and running, it's time to move to a better host. I've followed the instructions and have got stuck on the transfer of backups from current server to new.
Based on this command scp -r /root/backups root@new_server.com:/root/
I used
scp -r /root/ttt.txt root@xx.xxx.xxx.xx:/root/
to test transfer a file (ttt.txt)
After the initial 'do you trust this server?' [yes/no] I get
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
lost connection
I think I can see why I get this as I have public key authentication set up on the new server. What should I do to get through this?
Hi again,
I was a bit impetuous I'm afraid. Just realised that this is not a Virtualmin question but more of an SSH one. Google tells me that there's a way of including server security info in the parameters of the scp command.
I'm off to check that out.