[BlueOnyx:25207] Re: Easy Migrate 5210R from 5208R

Michael Stauber mstauber at blueonyx.it
Tue Nov 9 16:37:39 -05 2021


Hi Darren,

>      I took your advice, and I'm going forward with installing a new 5210R
> system with the intention of migrating my 5208R, instead oof waiting for
> 5211R. The very first section is "Server Preparation", and I'm trying to do
> the "ssh-copy-id" step so the new system can log into the old one. I just
> get errors, everytime.
> 
> Typing the command as suggested - "ssh-copy-id root at 10.x.x.y" where 10.x.x.y
> is the address of the source, just gets me "/usr/bin/ssh-copy-id: ERROR: No
> identities found"
> 
> Ok, I'll run ssh-keygen first, then try it again...
> 
> /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are
> prompted now it is to install the new keys
> root at 10.x.x.y's password: (I put in the correct password and hit enter)
> Permission denied, please try again.

Please check on the source server that you indeed have an ID for root:

[root at XYZ ~]# ls -la /root/.ssh/
drwx------  2 root root 4096  3. Jul 2020  .
dr-xr-x---. 8 root root 4096  3. Okt 17:09 ..
-rw-r--r--  1 root root 9292  1. Feb 2021  authorized_keys
-rw-------  1 root root 6367  7. Nov 2018  id_rsa
-rw-r--r--  1 root root 1424  7. Nov 2018  id_rsa.pub
-rw-r--r--  1 root root 1356  3. Jul 2020  known_hosts
-rw-------  1 root root 6367  7. Nov 2018  root.pem
-rw-r--r--  1 root root 1424  7. Nov 2018  root.pem.pub

There should be an "id_rsa" and "id_rsa.pub" present.

On the target server make sure that SSH is configured to allow "SSH Root
Login" and also has "Public Key Authentication" enabled.

You can easily check that and configure it in the 5210R GUI under
"Network Services" / "Shell & FTP".

Let me know if that helps or if you need further assistance.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list