[chef] Re: Re: Re: Re: `knife ssh` to multiple servers with passphrase on key


Chronological Thread 
  • From: Dane Elwell < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: `knife ssh` to multiple servers with passphrase on key
  • Date: Fri, 22 Feb 2013 20:13:07 +0000

Thanks for the advice guys.

Just in case anyone wants to know how I did it, this worked for me:

    ssh-agent sh -c "ssh-add && knife ssh -p2020 -x root 'name:*' 'ls -a'"

I'll have a look at Keychain as that may be useful, however security
is important so I doubt we would want to keep the key available longer
than necessary!

Dane



Archive powered by MHonArc 2.6.16.

§