[BlueOnyx:23740] Re: Easy Migrate

Richard Sidlin richard at helpinternet.co.uk
Wed Mar 11 10:01:54 -05 2020


> >> I ran the command and got this output:
> >>
> >> [root at mk-linux-03 ~]# ssh-keygen
> >> Generating public/private rsa key pair.
> >> Enter file in which to save the key (/root/.ssh/id_rsa):
> >> Enter passphrase (empty for no passphrase):
> >> Enter same passphrase again:
> >> Your identification has been saved in /root/.ssh/id_rsa.
> >> Your public key has been saved in /root/.ssh/id_rsa.pub.BUR Etc
> >>
> >> BUT - still getting this. I have rebooted both servers.
> >>
> >> [root at web ~]# ssh-copy-id root at 192.168.200.45
> >> /usr/bin/ssh-copy-id: ERROR: No identities found
> >>
> >> Any other thoughts?
> >>
> By the looks of your prompts you are doing the "ssh-keygen" and the "ssh-
> copy-id" on different servers. You need to do both commands as root on the
> server that is the target for easy migrate.
> 
> Kind regards
> Maurice

OK, so I don't quite understand that. The new (target) server is web and the source server is mk-linux-03. 

I ran: 

ssh-copy-id root at 192.168.200.45 on the target server. Got the no identities found error (192.168.200.45 being mk-linux-03)

Ran this on the source server.

[root at mk-linux-03 ~]# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa): ssh1103
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in ssh1103.
Your public key has been saved in ssh1103.pub.

But you say that I should have run this on the target server? What command should I use in that case? 

Sorry about this, not too proficient in this!






More information about the Blueonyx mailing list