No svn passphrase request sent on deploy

6 views
Skip to first unread message

Mark Reginald James

unread,
Mar 24, 2008, 3:16:42 AM3/24/08
to capis...@googlegroups.com
Hi,

I'm just getting going with Capistrano, but am stuck trying
to get cap to log-in to svn on deploy.

The ssh login is fine, and cap's local checking of the repository
is fine, but when the remote export is executed the remote server
does not request cap to send the svn passphrase (svn+ssh protocol).
My local ssh logs show several login failures, and cap eventually
shows a permission denied message.

If I run the exact same export command from a shell on the remote
server, I see the passphrase prompt, and the export succeeds.

I set ssh_options[:verbose] = :debug in deploy.rb to watch the
ssh packets, and all I see after the svn export command is sent
is a CHANNEL_WINDOW_ADJUST packet, several pings, then the packet
with the permission denied message. So cap has no chance to send
or prompt for the passphrase because the passphrase prompt isn't
getting received by Net::SSH.

I'd appreciate any suggestions.

Thanks.

--
We develop, watch us RoR, in numbers too big to ignore.

Mark Reginald James

unread,
Mar 24, 2008, 3:59:02 AM3/24/08
to capis...@googlegroups.com
Ha, stuck all day, then soon after I post I find the multiple
threads about having to add the default_run_options[:pty] = true
option.
Reply all
Reply to author
Forward
0 new messages