[BlueOnyx:23107] Re: Easy Migrate

Michael Stauber mstauber at blueonyx.it
Mon Aug 12 12:28:12 -05 2019


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?

> 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.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list