Passwordless SSH from PROD to DEV Clusters

Moderator: NorbertKrupa

Post Reply
darinbob
Newbie
Newbie
Posts: 10
Joined: Thu Mar 27, 2014 2:43 pm

Passwordless SSH from PROD to DEV Clusters

Post by darinbob » Fri Mar 10, 2017 10:48 pm

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 ?
SSH.PNG
SSH.PNG (50.24 KiB) Viewed 14895 times
Thanks,
Darin

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Passwordless SSH from PROD to DEV Clusters

Post by JimKnicely » Mon Mar 13, 2017 12:39 pm

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.
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “Vertica Backup & Recovery”