What's causing this and how to prevent it?
how get ssh+svn:// to remember password?
- Avocade
- Posts: 4
- Starts: 2
- Wiki Edits: 0
- Location: Sweden
I use ssh-agent and ssh-add to store my public keys for my ssh-login at hostingrails.com. Nevertheless, every time I "cap deploy" ssh+svn stops and asks for the password for the ssh-login. All the other tasks use the ssh-agent-provided key, but not this svn instance.
What's causing this and how to prevent it?
What's causing this and how to prevent it?
- Varun
- Posts: 410
- Starts: 0
- Wiki Edits: 0
Could you have a look at the tutorial link given below and ensure that the "ssh_options[:keys]"
is enabled in your deploy.rb and path to the key file is specified correctly ? http://www.hostingrails.com/forums/wiki_thread/5
is enabled in your deploy.rb and path to the key file is specified correctly ? http://www.hostingrails.com/forums/wiki_thread/5
2007-07-24 06:25 PM
- Avocade
- Posts: 4
- Starts: 2
- Wiki Edits: 0
- Location: Sweden
Yes, the ssh_options is correct, otherwise I would have had to enter the password for every ssh request in "cap deploy". Now it only happens one time, and the rest gets taken care of by ssh-agent. I don't know what's causing that one ssh to switch to "password" mode instead of public key.
2007-07-24 08:37 PM
oskarlissheimboethius.com- Varun
- Posts: 410
- Starts: 0
- Wiki Edits: 0
try adding the following line to your deploy.rb so that it will skip the known_hosts verification.
ssh_options[:paranoid] = false
ssh_options[:paranoid] = false