Current time: 02-17-2025, 03:34 PM Hello There, Guest! (LoginRegister)


Post Reply 
Howto Sincronizar 2 servidores con ISPCP + Rsync
Author Message
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #24
RE: Howto Sincronizar 2 servidores con ISPCP + Rsync
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
(This post was last modified: 03-12-2010 02:36 AM by kurgans.)
03-12-2010 02:21 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 - kurgans - 03-12-2010 02:21 AM

Forum Jump:


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