Advertisement

09.20.2007 at 11:47AM PDT, ID: 22842334 | Points: 500
[x]
Attachment Details

Automating the ssh-add command

Asked by epicbob in Unix Network Security, Unix Operating Systems, Unix Systems Programming

I am trying to automate (thru a script) the process of setting up SSH and its public-key authentication features across multiple unix servers and am wodering if someone knows of a way to automate the ssh-add part of the setup so that keyboard input is not required when asked for the passphrase. I tried redirecting input from a file but it appears that this is not an option. There is a reference to ssh_askpass but that is not loaded on any of my servers.Start Free Trial
[+][-]09.20.2007 at 02:14PM PDT, ID: 19931854

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.30.2008 at 12:57AM PDT, ID: 22118247

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_1_20070628