Your statement about the ENV being very restrictive was the trick.
Turns out that if I specify the full path in ssh_options[:keys] it
finds (and uses) the key.  Specifically, #{ENV['HOME']} does not
resolve to anything.  For others that may run into this,
'ssh_options[:keys] = [File.join(ENV["HOME"], ".ssh",
"dasdeploy_rsa")]' did not work either.

I'm just gonna put some logic into post-commit that detects the user
(as whoami does work) and then sets the :keys accordingly.

thanks for your help,
-Ryan

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to