Am I to assume you used @ here to denote blanked out IP octets?
But, this has nothing to do with Virtualmin. This is either a network, firewall, or ssh server problem on the destination system. We can probably help, but I’m going to update your title to reflect that it has nothing to do with migrating to a new server.
Is the ssh server running on the destination server? (systemctl status ssh)
Have you opened the ssh port on that destination server firewall? Installing Virtualmin would do that, and most hosts will have it open by default, so it’s pretty unlikely to be firewall, but maybe there’s some other thing happening there.
Dec 22 00:01:32 server.info sshd[80008]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=15.235.185.2
Dec 22 00:01:34 server.info sshd[80008]: Failed password for invalid user guest from 15.235.185.2 port 55226 ssh2
Dec 22 00:01:35 server.info sshd[80008]: Connection closed by invalid user guest 15.235.185.2 port 55226 [preauth]
Dec 22 00:01:53 server.info sshd[80058]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.92.0.163 user=root
Dec 22 00:01:55 server.info sshd[80058]: Failed password for root from @@@@@ port 22887 ssh2
Dec 22 00:01:57 server.info sshd[80058]: Failed password for root from @@@@@ port 22887 ssh2
Dec 22 00:02:01 vps-server.info sshd[80058]: Failed password for root from @@@@@ port 22887 ssh2
Dec 22 00:02:02 vps-server.info sshd[80058]: Received disconnect from @@@@@ port 22887:11: [preauth]
Dec 22 00:02:02 vps-server.info sshd[80058]: Disconnected from authenticating user root @@@@@ port 22887 [preauth]
Dec 22 00:02:02 vps-server.info sshd[80058]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=@@@@@ user=root
root@cp:~
I did what you said, I also disabled fail2ban until I did the transfer. I read here in your article that the command is scp -r /root/backups root@new-server.com:/root/.
I write to the old server scp -r /root/backups root@ip_new_server:/root/
Where should I write the user and password you said???
I finally managed to do it, I connected to the new vps without a password. I did the transfer, I have 2 problems. It gave me the error below that you see and it did not transfer 2 subdomains that I have. Why?
Re-creating records in DNS domain ..
[24/Dec/2024:10:37:41 +0200] Failed to transfer file : Failed to IPv6 connect to cp.vps-server.info:10003 : Connection refused …/web-lib-funcs.pl (line 8261)
Error
Failed to transfer file : Failed to IPv6 connect to cp.vps-server.info:10003 : Connection refused …/web-lib-funcs.pl (line 8261)