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

Re: windows svn+ssh problem

From: Eric Hanchrow <offby1_at_blarg.net>
Date: 2006-07-30 21:14:15 CEST

>>>>> "Gerald" == Gerald Iakobinyi-Pich <nutrina9@yahoo.de> writes:

    Gerald> Hello I have just installed svn on windows and would like
    Gerald> to checkout a repository that has been created on my linux
    Gerald> box, using svn+ssh:// ....

    Gerald> I have configured svn to use plink.exe, for tunneling, but
    Gerald> it just seems to hang. So I created a script 'plink.bat'
    Gerald> and have set up svn to use this one for tunneling:

    Gerald> date /T >> c:\plink.log time /T >> c:\plink.log ECHO %0 %*
    Gerald> >> c:\plink.log "c:\\Program Files\\putty\\plink.exe" %* 3
    Gerald> >> "c:\plink.log" 2<&3

    Gerald> Now I can see the commands svn is executing in the
    Gerald> plink.log file, and here it is what shows up in the file:

    Gerald> 07:29 PM "c:\Program Files\putty\plink.bat" user@IP
    Gerald> svnserve -t user@IP's password:

    Gerald> So obviusly, plink is waiting fot the password to be typed
    Gerald> in, but it seems that standard input is ignored. and
    Gerald> besides this, why is the text: "user@IP's password: " not
    Gerald> printed on the console? I got nothing on the console when
    Gerald> svn was setup for using plink.exe for tunneling ?

    Gerald> Can anybody help me out ?

First of all: once you get everything working smoothly, you'll want to
use TortoisePlink (which comes with TortoiseSVN), not plink. The
difference is that plink opens a console window, which can be
annoying; TortoisePlink doesn't.

Second: it may be that the apparent hanging is simply because plink is
waiting for you to type a password _in its own window_, which may well
be offscreen. Try again; once it hangs, hit Alt+TAB a few times, to
see if the window actually exists (I predict it will). Then do
Alt+SPC to bring up its system menu; then hit M to select "Move"; then
use your mouse or arrow keys to position it someplace convenient
... then enter your password and see if that unwedges it.

Third: you should use "Pageant", the ssh agent from the PuTTY suite,
to avoid having to type your password in the first place.

-- 
As economics is known as "The Miserable Science", software
engineering should be known as "The Doomed Discipline"
        -- Edsger Dijkstra
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jul 30 21:24:53 2006

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.