[SOLVED] Migration Tool Error

Discussion in 'Plugins/Modules/Addons' started by Slimat, Jan 6, 2023.

  1. Slimat

    Slimat Member

    Thanks Thom... I'm not very famililar with SSH protocols, so added the key from /root/.ssh/id_rsa_migration.pub on the source server to the /.ssh/authorized_keys file, but it still asked for a password... does the target server need a reboot after adding a public key... or is there more syntax to it than just pasting the key on the next line?
     
  2. Slimat

    Slimat Member

    Or, could I replace the public key on the source server (/root/.ssh/id_rsa_migration.pub) with my private key for the target server?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The easiest way is to simply set a root password using the command I mentioned in my last post. When the migration is finished, you simply edit sshd_config file and disallow root logins with a password by setting it to:

    PermitRootLogin without-password
     
  4. Slimat

    Slimat Member

    Hi Guys
    I have had some additional help from my Ubuntu Guru (Gary)... and it seems that there was a problem with the copy/paste of the public key... re tried and it looks good;
    upload_2023-1-7_12-51-20.png

    Many thanks for all your help :)
     
    Th0m, ahrasis and till like this.

Share This Page