What if I have to regenerate the SSH Key?

 

IMPORTANT NOTE:  This document is based on CentOS, RedHat Linux 7.3, Enterprise and FreeBSD.  The concepts should be similar across operating systems, but the commands will very likely be different.  Also, never assume the directory structures exist in your system as written in the document.  Never blindly follow security instructions -- read, review, compare, apply as it fits your system.

Log into the control panel server as root.

Per Igor Seletsk: cpanel user on CP server should be able to login without password, as root to all servers (including CP servers)

For that, if cpanel has key, simply do scp from cpanel user on CP server to root users on all servers:

scp ~cpanel/.ssh/identity.pub root@otherserver:~/.ssh/authorized_keys

If the key doesn't exist - regenerate it:

$ ssh-keygen -b 1024 -t rsa

(note $ - you should be cpanel user when you are doing that) and then copy it to all other servers.

Also see http://www.psoft.net/HSdocumentation/sysadmin/ssh_keys_generation.html

IMPORTANT NOTE:  This document and all linked document is being provided as a good will gesture to the Parallels H-Sphere community and to others who may benefit from its use.  Dynamic Net, Inc. makes no representations implied or explicit as to their value or warranty. Dynamic Net, Inc. will not be held liable for any damage resulting in the application of the steps and procedures noted.  If you feel uncomfortable at all about doing any of the steps, make a complete system backup and hire a third party like We Manage Servers to do the work for you.

 

 
 

Home ::  About :: Testimonials  ::  Articles ::  Employment ::  Contact
Services ::  Web Hosting ::  Managed Services :: Parallels H-Sphere  :: Monitoring :: ShopSite 
Resellers
::   Program ::  Compare Plans ::  Private Label
   
  :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 Legal Notices - Acceptable Use Policy, Contract, Copyright, Terms of Service

See our
privacy statement for questions on how we use information gained by our site.

Managed Services provided by We Manage Servers