Hi -
I want to be able to use the vbr -t replicate task to be able to replicate objects from prod to a new DEV/QA cluster. Potentially - eventually - the opposite direction as well.
However - I need to configure SSH from the source to the target cluster. Each cluster is already configured to passwordless SSH between the nodes of each individual cluster. What I'm struggling with is configuring the DEV cluster so that it can accept passwordless SSH from PROD.
Does this require multiple .SSH directories? Can I stash more than 1 set of key pairs in the existing .SSH directory on DEV ?
Thanks,
Darin
Passwordless SSH from PROD to DEV Clusters
Moderator: NorbertKrupa
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: Passwordless SSH from PROD to DEV Clusters
Hi,
You should be able to simply copy the public key from your prod server to the dev serer using ssh-copy-id:
ssh-copy-id -i ~/.ssh/id_rsa.pub dev_sever
This will append the prod key to the dev’s .ssh/authorized_key file.
You should be able to simply copy the public key from your prod server to the dev serer using ssh-copy-id:
ssh-copy-id -i ~/.ssh/id_rsa.pub dev_sever
This will append the prod key to the dev’s .ssh/authorized_key file.
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.