You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ListMan <li...@burble.net> on 2006/04/29 20:34:21 UTC

can't co a repos over svn+ssh

hi all, i'm having an annoying issue with checking out a repos from  
one of my machines

i get

steve@host1 develop/nlm 6> svn co svn+ssh://steve@host2/repos/myrepos/ 
trunk
Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard- 
interactive).
svn: Connection closed unexpectedly

but i can ssh to the machine no problem...

i can check this repos out from other machines but from this  
particular machine it complains..

any ideas where this might be coming from?

rgds,





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: can't co a repos over svn+ssh

Posted by ListMan <li...@burble.net>.
On May 3, 2006, at 12:36 AM, John Allen wrote:

> On Tue 02 May 2006 21:03, ListMan wrote:
>> sure:
>>
>> steve@pacifica develop/nlm 7> ssh columbia
>> Enter passphrase for key '/users/steve/.ssh/id_rsa':
>> Last login: Tue May  2 12:53:14 2006 from adsl-71-132-201
>> Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
>> steve@columbia users/steve 1>
>>
>> steve@pacifica develop/nml 8> svn co svn+ssh://steve@columbia/repos/
>> svn/nml/code
>> Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-
>> interactive).
>> svn: Connection closed unexpectedly
>>
>
> Check the ssh logs on the server, that will almost certainly  
> provide the
> answer.

yes, well for some reason i don't get any thing mentioned in my logfiles
(i'm confused by that as well)

thx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: can't co a repos over svn+ssh

Posted by John Allen <jo...@dublinux.net>.
On Tue 02 May 2006 21:03, ListMan wrote:
> sure:
>
> steve@pacifica develop/nlm 7> ssh columbia
> Enter passphrase for key '/users/steve/.ssh/id_rsa':
> Last login: Tue May  2 12:53:14 2006 from adsl-71-132-201
> Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
> steve@columbia users/steve 1>
>
> steve@pacifica develop/nml 8> svn co svn+ssh://steve@columbia/repos/
> svn/nml/code
> Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-
> interactive).
> svn: Connection closed unexpectedly
>

Check the ssh logs on the server, that will almost certainly provide the 
answer.

> i recently switched the code repos to live on columbia, from
> pacifica.. maybe there's still something
> set on pacifica thats causing confusion?
>
> note that i can run this same command, svn co, no problem on another
> machine
>
> [acropolis:~/develop/nlm] steve% svn co svn+ssh://steve@columbia/
> repos/svn/nlm/fillVia
> Enter passphrase for key '/Users/steve/.ssh/id_rsa':
> Enter passphrase for key '/Users/steve/.ssh/id_rsa':
> Enter passphrase for key '/Users/steve/.ssh/id_rsa':
> A    fillVia/trunk
> ...
> ... etc
>
> thx for helping with this.
>
> On May 2, 2006, at 2:39 AM, Alex Holst wrote:
> > Quoting ListMan (listman@burble.net):
> >>> Can you really run these two commands, with the first one working
> >>> and
> >>> the second one failing:
> >>>
> >>> ssh steve@host2 id
> >>> svn co svn+ssh://steve@host2/path/to/repos/trunk/foo
> >>
> >> i know its strange but thats really the case. i can ssh to that
> >> machine but i can't use svn co svn+ssh://
> >
> > Show us a real transcript with the two actual commands using the real
> > hostname, path and user id.
> >
> > --
> > I prefer the dark of the night, after midnight and before four-thirty,
> > when it's more bare, more hollow.                http://a.mongers.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

-- 
John Allen                           mailto:john.allen@moyville.net
Mandriva Club Member(Silver)         http://www.moyville.net

Mandriva Linux release 2006.0 (Official) for i586, kernel 2.6.12-15mdk
 08:35:16 up 18:50,  1 user,  load average: 0.58, 0.36, 0.52

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: can't co a repos over svn+ssh

Posted by Alex Holst <a...@mongers.org>.
Quoting ListMan (listman@burble.net):
> steve@pacifica develop/nlm 7> ssh columbia
> Enter passphrase for key '/users/steve/.ssh/id_rsa':
> Last login: Tue May  2 12:53:14 2006 from adsl-71-132-201
> Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
> steve@columbia users/steve 1>
> 
> steve@pacifica develop/nml 8> svn co svn+ssh://steve@columbia/repos/ 
> svn/nml/code
> Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard- 
> interactive).
> svn: Connection closed unexpectedly

Strictly speaking, in one case you are connecting to columbia and in the
second case *as steve* to columbia. Depending on the contents of
~/.ssh/config, those two operations may not be exactly the same.

Something is causing the ssh client on pacifica to not prompt you for
your credentials, and I can't really imagine what it might be. Take a
look in /etc/ssh/ssh_config and ~/.ssh/config - post them here if you
see anything you don't understand. 

> Enter passphrase for key '/Users/steve/.ssh/id_rsa':
> Enter passphrase for key '/Users/steve/.ssh/id_rsa':
> Enter passphrase for key '/Users/steve/.ssh/id_rsa':

On another note: Do you really keep a copy of your private key on each
of those systems? I strongly recommend you only keep a copy on your
workstation and use authentication forwarding to reach other systems.

-- 
I prefer the dark of the night, after midnight and before four-thirty,
when it's more bare, more hollow.                http://a.mongers.org 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: can't co a repos over svn+ssh

Posted by ListMan <li...@burble.net>.
sure:

steve@pacifica develop/nlm 7> ssh columbia
Enter passphrase for key '/users/steve/.ssh/id_rsa':
Last login: Tue May  2 12:53:14 2006 from adsl-71-132-201
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
steve@columbia users/steve 1>

steve@pacifica develop/nml 8> svn co svn+ssh://steve@columbia/repos/ 
svn/nml/code
Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard- 
interactive).
svn: Connection closed unexpectedly

i recently switched the code repos to live on columbia, from  
pacifica.. maybe there's still something
set on pacifica thats causing confusion?

note that i can run this same command, svn co, no problem on another  
machine

[acropolis:~/develop/nlm] steve% svn co svn+ssh://steve@columbia/ 
repos/svn/nlm/fillVia
Enter passphrase for key '/Users/steve/.ssh/id_rsa':
Enter passphrase for key '/Users/steve/.ssh/id_rsa':
Enter passphrase for key '/Users/steve/.ssh/id_rsa':
A    fillVia/trunk
...
... etc

thx for helping with this.



On May 2, 2006, at 2:39 AM, Alex Holst wrote:

> Quoting ListMan (listman@burble.net):
>>> Can you really run these two commands, with the first one working  
>>> and
>>> the second one failing:
>>>
>>> ssh steve@host2 id
>>> svn co svn+ssh://steve@host2/path/to/repos/trunk/foo
>>>
>>
>> i know its strange but thats really the case. i can ssh to that
>> machine but i can't use svn co svn+ssh://
>
> Show us a real transcript with the two actual commands using the real
> hostname, path and user id.
>
> -- 
> I prefer the dark of the night, after midnight and before four-thirty,
> when it's more bare, more hollow.                http://a.mongers.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: can't co a repos over svn+ssh

Posted by Alex Holst <a...@mongers.org>.
Quoting ListMan (listman@burble.net):
> >Can you really run these two commands, with the first one working and
> >the second one failing:
> >
> >ssh steve@host2 id
> >svn co svn+ssh://steve@host2/path/to/repos/trunk/foo
> >
> 
> i know its strange but thats really the case. i can ssh to that  
> machine but i can't use svn co svn+ssh://

Show us a real transcript with the two actual commands using the real
hostname, path and user id.

-- 
I prefer the dark of the night, after midnight and before four-thirty,
when it's more bare, more hollow.                http://a.mongers.org 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: can't co a repos over svn+ssh

Posted by ListMan <li...@burble.net>.


On Apr 29, 2006, at 2:59 PM, Alex Holst wrote:

> Quoting ListMan (listman@burble.net):
>> i can check this repos out from other machines but from this
>> particular machine it complains..
>>
>> any ideas where this might be coming from?
>
> Maybe you didn't enable authentication forwarding to host2, or you're
> running svn from inside an old screen session which has out-dated
> references to forwarding sockets.
>
> Can you really run these two commands, with the first one working and
> the second one failing:
>
> ssh steve@host2 id
> svn co svn+ssh://steve@host2/path/to/repos/trunk/foo
>

i know its strange but thats really the case. i can ssh to that  
machine but i can't use svn co svn+ssh://

i get

Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard- 
interactive).
svn: Connection closed unexpectedly

any ideas? this is somewhat annoying..



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: can't co a repos over svn+ssh

Posted by Simon Butler <si...@icmethods.com>.


On Apr 29, 2006, at 2:59 PM, Alex Holst wrote:

> Quoting ListMan (listman@burble.net):
>> i can check this repos out from other machines but from this
>> particular machine it complains..
>>
>> any ideas where this might be coming from?
>
> Maybe you didn't enable authentication forwarding to host2, or you're
> running svn from inside an old screen session which has out-dated
> references to forwarding sockets.
>
> Can you really run these two commands, with the first one working and
> the second one failing:
>
> ssh steve@host2 id
> svn co svn+ssh://steve@host2/path/to/repos/trunk/foo
>

i know its strange but thats really the case. i can ssh to that  
machine but i can't use svn co svn+ssh://

i get

Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard- 
interactive).
svn: Connection closed unexpectedly

any ideas? this is somewhat annoying..



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: can't co a repos over svn+ssh

Posted by Alex Holst <a...@mongers.org>.
Quoting ListMan (listman@burble.net):
> i can check this repos out from other machines but from this  
> particular machine it complains..
> 
> any ideas where this might be coming from?

Maybe you didn't enable authentication forwarding to host2, or you're
running svn from inside an old screen session which has out-dated
references to forwarding sockets.

Can you really run these two commands, with the first one working and
the second one failing:

ssh steve@host2 id
svn co svn+ssh://steve@host2/path/to/repos/trunk/foo 

?

-- 
I prefer the dark of the night, after midnight and before four-thirty,
when it's more bare, more hollow.                http://a.mongers.org 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org