OpenVZ Forum


Home » General » Support » vzmigrate public key
vzmigrate public key [message #13802] Wed, 06 June 2007 00:00 Go to next message
devonblzx is currently offline  devonblzx
Messages: 127
Registered: December 2006
Senior Member
Starting online migration of VE XXX on X.X.X.X
Error: Can't connect to destination address using public key
Error: Please put your public key to destination node

I get this error when I try to migrate my VPS's, I tried running the ssh-keygen on both nodes but I couldn't quite figure it out.

How do I set up a public key to my other node?
Re: vzmigrate public key [message #13804 is a reply to message #13802] Wed, 06 June 2007 00:43 Go to previous message
ugob is currently offline  ugob
Messages: 271
Registered: March 2007
Senior Member
You can google for ssh-keygen or 'authorized_keys'

On the source host, you run ssh-keygen to generate your 2 keys. You copy the content of your public key in /root/.ssh/authorized_keys on the destination host, then change the permissions (chmod go-rwx /root/.ssh/authorized keys. Then try to 'ssh destination_host' from source host as root.


Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
Previous Topic: Failed Restart
Next Topic: *KNOWN ISSUE* 2.6.20-ovz007 with checkpoint option error
Goto Forum:
  


Current Time: Thu Jul 25 12:52:39 GMT 2024

Total time taken to generate the page: 0.04054 seconds