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

Re: [Subclipse-users] subclipse+JavaHL and svn+ssh scheme does not prompt for login data

From: Pascal Bleser <pascal.bleser_at_atosorigin.com>
Date: 2006-10-25 10:38:37 CEST

Mark Phippard wrote:
> "Marcel Patzlaff" <marcel.patzlaff@dai-labor.de> wrote on 10/24/2006
> 08:10:18 PM:
>
>> After several google invocations took place, I got the idea to start
>> eclipse out of an xterm to see some exceptions or other debug
>> informations. Then I did the same procedure as mentioned before and
>> saw the usual ssh login prompt.
>> If I type my login data there, subclipse can proceed...
>
> That is the expected behavior. See this page in the documentation:
> http://svn.collab.net/subclipse/help/topic/org.tigris.subversion.subclipse.doc/html/reference/protocol.html

Well, the most common approach is to run your X session wrapped by
ssh-agent (most Linux distributions I know of do that by default - at
least that's definitely the case on SUSE).

You can check whether your X runs wrapped in ssh-agent like this:
ps h -C ssh-agent -o user
If your username appears, then it's wrapped.

Just use "ssh-add" to register your private key with the ssh-agent,
then you won't be prompted for the passphrase any more.

> I recall someone on the list posting once about a GTK binding or version
> of the OpenSSH client that would use a GUI prompt.

You just need to set the environment variable SSH_ASKPASS to
- gtk-led-askpass
- ssh-askpass-gnome
- whatever

Note that it's trivial to write your own askpass script.
Here's one for KDE:
---8<-------------------------------------------
#!/bin/sh
exec kdialog \
        --title "SSH Authentication" \
        --password "Enter your passphrase:"
---8<-------------------------------------------

hope this helps

-- 
  -o) Pascal Bleser               ATOS Worldline/Aachen(DE)
  /\\   System Architect              WLP Business Platform
 _\_v "Really, I'm not out to destroy Microsoft.  That will
just be a completely unintentional side effect."-L.Torvalds
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Oct 25 10:39:22 2006

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

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