4. Set up accounts

Next we set up an account for backup / mirroring. The account must be hosted on one of the hosts already defined.

Important warning: This setup creates a remote-access key for each account, allowing login without password. If anyone were to get access to your ClonePanel account they would also be able to read and write to all the remote accounts set up.

So, if you still want to go ahead (!) enter "./account add" and follow the prompts:

[tester@ACER scripts]$ ./account add

ClonePanel version 0.30, Copyright (C)2006 Chris Cheers
ClonePanel comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute
it under certain conditions; read LICENSE.txt for details.

Enter host name (nickname): KATE
Enter account username: clonepan
Enter extra config options now (<Return> to finish).
Examples: REMOTEHOST_USERNAME=fred or MIRROR_DIR_WEB=public_html
(usually only needed on non-CPanel hosts or where username differs from one host to another):
Creating directory ./../accounts/clonepan
Role defaults to MASTER for new account

ClonePanel version 0.30, Copyright (C)2006 Chris Cheers
ClonePanel comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute
it under certain conditions; read LICENSE.txt for details.

Generating public/private dsa key pair.
Your identification has been saved in /home/tester/cp0.30/scripts/../temp/cpc_dsa.
Your public key has been saved in /home/tester/cp0.30/scripts/../temp/cpc_dsa.pub.
The key fingerprint is:
5c:d2:32:6a:9e:1b:53:c5:54:54:21:07:92:49:90:22 tester@ACER
Keys created.
Now connecting to remote server at 172.31.255.3.
You should be prompted for a password to the clonepan account.
The authenticity of host ’172.31.255.3 (172.31.255.3)’ can’t be established.
RSA key fingerprint is ed:c1:8f:dd:1b:77:34:53:c2:4f:e6:19:d3:a4:ab:68.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ’172.31.255.3′ (RSA) to the list of known hosts.
clonepan@172.31.255.3′s password: ***********
stdin: is not a tty
Remote setup done!
Now to test the remote access key…
stdin: is not a tty
Remote access tested OK

ClonePanel version 0.30, Copyright (C)2006 Chris Cheers
ClonePanel comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute
it under certain conditions; read LICENSE.txt for details.

stdin: is not a tty
building file list … done
colours
databases/
error_codes
rconfig
roles
scripts/
scripts/includes
scripts/moveallmail.pl
scripts/post_process
scripts/pre_process
zones/

sent 8078 bytes received 148 bytes 3290.40 bytes/sec
total size is 16850 speedup is 2.05
Sync complete for clonepan (clonepan) on KATE
Account setup complete
[tester@ACER scripts]$

If all goes as it should (indicated by the messages in green above) the account will be set up and ready to take backups. If not, first check that you have SSH access to the server you’re setting up and that you’re using the correct username and password. Then check the error code against the list in scripts/error_codes. If you have problems please post them here so that others can also see the answers.

Leave a Reply