Sprynex Community Forums  

Go Back   Sprynex Community Forums > Cheetah > Guides

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-21-2008
jmarcelletti's Avatar
jmarcelletti jmarcelletti is offline
Administrator
 
Join Date: Oct 2008
Location: New Jersey
Posts: 6
Default Preparing additional servers

In order to allow communication between the control panel server and additional servers, you need to create a cheetah user and copy over the public key from the control panel.

The two methods listed below will produce the same output. The automated process should work for everyone, however manual instructions are listed below in the event of unexpected results.

Automated Process:
Login as root to the new server.

Issue the following command:
/usr/local/cheetah/scripts/misc/init_server.php
You will be prompted for the IP address of the control panel and your root password.

Manual Process:
useradd cheetah --shell /sbin/nologin
mkdir -p ~cheetah/.ssh
touch ~cheetah/.ssh/authorized_keys2
chown cheetah:cheetah ~cheetah/.ssh/authorized_keys2
chmod 600 ~cheetah/.ssh/authorized_keys2
chown cheetah:cheetah ~cheetah/.ssh
chmod 700 ~cheetah/.ssh

nano -w ~cheetah/.ssh/authorized_keys2
Here you should paste the contents of ~cheetah/.ssh/id_rsa.pub from the control panel.

Save and exit (ctrl+x, yes to save changed, enter to confirm file name)
__________________
Joseph Marcelletti
Sprynex
www.sprynex.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:01 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.