You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by Alex Ceponkus <al...@ceponkus.org> on 2002/01/13 11:56:02 UTC

[jUDDI-developers] ssh and sourceforge

Hey guys,

I figure most of you are using cygwin, so my latest adventure should be of
interest.  My plan was to upload my ssh public key to sourceforge, so I
wouldn't have to type my password anymore when issuing CVS commands.  I
generated an ssh key pair with ssh-keygen and uploaded ~/.ssh/identity.pub
to sourceforge (under account options .. be sure not to introduce any line
breaks).  However, after I went through that exercise it didn't work for me
(I was still being prompted for passwords.)  After playing with ssh in
verbose mode, it turns out that the SSH2 protocol is negotiated between my
client and SF.  I can't seem to generate an SSH2 key with ssh-keygen, only
SSH1, so now I force SSH1 mode when using SF (-1 option to ssh).  To have it
all work transparently, create an ssh1.bat with the following line: ssh -1
%1 %2 %3 %4 %5   .. and used ssh1.bat instead of ssh for CVS_RSH enviro
variable.  Now cvs commands should work without typing a password (which
used to really annoy me.)  Kind of a hack, but if somebody finds a way to
generate SSH2 keys, please let me know.

Alex




Re: [jUDDI-developers] ssh and sourceforge

Posted by "Daniel \"eikeon\" Krech" <ei...@eikeon.com>.
I ran into some problems along these lines some time ago. Tried to get SSH2
working but without success... do not remember what the issues where. But
found another way to tell SSH to use SSH1:

You can create a file called 'Config' in your .ssh directory... with the
following line:

Protocol 1

Will save you a .bat or shell script.

Dan

----- Original Message -----
From: "Alex Ceponkus" <al...@ceponkus.org>
To: <ju...@lists.sourceforge.net>
Sent: Sunday, January 13, 2002 2:00 PM
Subject: [jUDDI-developers] ssh and sourceforge


> Hey guys,
>
> I figure most of you are using cygwin, so my latest adventure should be of
> interest.  My plan was to upload my ssh public key to sourceforge, so I
> wouldn't have to type my password anymore when issuing CVS commands.  I
> generated an ssh key pair with ssh-keygen and uploaded ~/.ssh/identity.pub
> to sourceforge (under account options .. be sure not to introduce any line
> breaks).  However, after I went through that exercise it didn't work for
me
> (I was still being prompted for passwords.)  After playing with ssh in
> verbose mode, it turns out that the SSH2 protocol is negotiated between my
> client and SF.  I can't seem to generate an SSH2 key with ssh-keygen, only
> SSH1, so now I force SSH1 mode when using SF (-1 option to ssh).  To have
it
> all work transparently, create an ssh1.bat with the following line: ssh -1
> %1 %2 %3 %4 %5   .. and used ssh1.bat instead of ssh for CVS_RSH enviro
> variable.  Now cvs commands should work without typing a password (which
> used to really annoy me.)  Kind of a hack, but if somebody finds a way to
> generate SSH2 keys, please let me know.
>
> Alex
>
>
> _______________________________________________
> juddi-developers mailing list
> juddi-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/juddi-developers
>