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?