[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

weird svn+ssh cygwin echoing password prompt problem

From: Chris Hecker <checker_at_d6.com>
Date: 2005-02-10 09:19:17 CET

I've been having weird problems with my latest installation of
subversion. I have a 1.1.3 server running on RedHat Enterprise (built with
bdb 4.2.52), and the 1.1.3 binaries on Win32, with the latest cygwin version.

If I try to svn co svn+ssh://user@server/path/to/repository, I get prompted
for the ssh password, and then prompted again, but the second prompt echoes
the password visibly to the win32 cmd prompt, and it also doesn't seem to
send it even if I type it in (visibly), because it then just endlessly
reprompts, and you can't ctrl-c (you have to kill the ssh.exe's in the
process viewer).

I can ssh to user@server just fine, so it's not the initial rsa key message
mucking things up. If I instead use plink.exe instead of cygwin ssh.exe
and do this:

set SVN_SSH=plink -pw password

then the above co works fine and doesn't prompt at all obviously (if I try
to use plink without specifying the password then it just hangs there with
no password prompt, but that's never worked for me, so I assume that's a
plink problem).

If I kill the ssh's, then do an svn info, the repository information is
half filled out (uuid is there, url is there, nothing else). But, I can
then do an svn up and I get prompted once and it proceeds to check
everything out just fine.

Also, if I use the plink SVN_SSH above, and get a working copy checked out,
then I can clear SVN_SSH to go back to cygwin ssh.exe, and updates work fine.

Has anybody seen anything like this before? I searched the list archives
but didn't see anything (plenty of people mentioning the multiple ssh
connections, but nothing about the weird echo/infinite prompt behavior).

Any ideas?

Thanks,
Chris

PS. I haven't tried using ssh-agent, I assume that would work because it
won't prompt. But the prompting used to (and should) work.

PPS. Other commands that need to double prompt, like svn diff -r
old_version somefile.cpp work fine (unless you pipe to cygwin less.exe, but
that is probably another problem, it prompts infinitely, but at least it
doesn't start echoing the password).

PPPS. Yes, I'm typing the password correctly every time. That's easy to
verify since it gets echoed to the window! :)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 10 09:20:21 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.