Hello,
I already have public key auth working for putty and can login to
the unix system without giving the password.
I am trying to get my test Cap script to do the same but it asks me
for a password even though I have putty Pageant running. What variable
do I need to set in my Capfile so that it would automatically do the
handshake for me?
Src: Windows XP (don't ask)
TGT: HP/UX
>From Putty:
public key auth seems to be setup properly for putty at least.
>From Capistrano: (2.0)
If I specify the :password, it works fine and I see the output of the
cmdstr
If I specify the ssh_options, it asks me for the password. ie, auto
login no worky!
My script:
==========================================
role :devdb, "hpuxdbserver"
set :user, "hpuxdbuser"
# set :password, "monkeynyuknyuk"
# my pub key is d:\ssh\pub_key.pub
# priv key is d:\ssh\priv_key.ppk
ssh_options[:keys] = %w(d:\ssh\pub_key)
desc "find out which DB pmon processes are running"
task :ora_running , :role => :devdb do
cmdstr = "ps -ef | grep pmon"
run cmdstr
end
==========================================
Any pointers would be greatly appreciated. thanks,
-A
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---