ALPHA = server 1, where to log in from
BETA = server 2, destination where we log in
ALPHA: ssh-keygen -t rsa
BETA: mkdir .ssh
ALPHA: cat .ssh/id_rsa.pub | ssh user@BETA 'cat >> .ssh/authorized_keys'
BETA: chmod 644 .ssh/authorized_keys
To establish a mirror relationship, exchange server ALPHA with BETA and run through the 4 steps again.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment