Current time: 11-27-2024, 09:00 AM Hello There, Guest! (LoginRegister)


Post Reply 
Howto Sincronizar 2 servidores con ISPCP + Rsync
Author Message
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #25
RE: Howto Sincronizar 2 servidores con ISPCP + Rsync
(03-12-2010 02:21 AM)kurgans Wrote:  Generate key production server (www1)

www1: ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa): /root/.ssh/sincroniza (Example path)
Enter passphrase (empty for no passphrase):[ENTER]
Enter same passphrase again:[ENTER]
Your identification has been saved in sincroniza
Your public key has been saved in sincroniza.pub

Copy generated files to new server
www1:scp /root/.ssh/sincroniza* root@ip:/root/.ssh

Record key automatic entry www1 to www2
www2:/root/.ssh/cat sincroniza.pub > /root/.ssh/authorized_keys

Finely in the script to enter data:
User
www2 server ip
path keys copied previously

generated correctly, but does not access the same with the script, but if you do manual login
03-12-2010 02:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Howto Sincronizar 2 servidores con ISPCP + Rsync - theprincy - 03-12-2010 02:34 AM

Forum Jump:


User(s) browsing this thread: 6 Guest(s)