[BlueOnyx:23108] Re: Easy Migrate

Colin Jack colin at mainline.co.uk
Mon Aug 12 13:02:32 -05 2019


Hi Michael,

> Hi Colin,
> 
> 
> > Your instructions for Easy Migrate start at ssh-copy-id but that fails
> > with unknown folder.
> 
> Could be that the source server doesn't have /root/.ssh/ yet, as it never
> generated a key for root so far?

Source server already has a key:

[root at intranetserver ~]# ls /root/.ssh
authorized_keys  id_rsa  id_rsa.pub

> > I went onto the source server and ran ssh-keygen again which copied to
> > /root/.ssh/id_rsa.pub and then tried ssh-copy-id -i
> > /root/.ssh/id_rsa.pub and failed again.
> 
> It's "ssh-copy-id root@<other-server>". That will take your
> /root/.ssh/id_rsa.pub from the box where you're logged in and it'll add it to
> /root/.ssh/authorized_keys on the other server.

> But yeah, you can also do it the old fashioned way by doing these steps
> manually.

Decided that was the easiest! 😊

All the best

Colin




More information about the Blueonyx mailing list