public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* ssh CVS access from another machine
@ 2003-02-25 20:06 Kris Warkentin
  2003-02-25 20:13 ` Daniel Jacobowitz
  2003-02-25 20:15 ` Andrew Cagney
  0 siblings, 2 replies; 5+ messages in thread
From: Kris Warkentin @ 2003-02-25 20:06 UTC (permalink / raw)
  To: gdb

I'm trying to access the repository from home and not having any luck.  It's
probably just my ignorance on the mechanism so if there is a doc I should
read, let me know.

I had created an account (generating identity.pub, etc.) at work and now I
wanted to work from home.  I copied the contents of my $HOME/.ssh directory
to my home machine (this is probably wrong) and then tried connecting.  I
keep getting 'permission denied'.  I tried removing identity.pub and config
(to get an interactive session) but that claimed "permission denied:
public-key/keyboard-interactive"

Do I need to have multiple rsa keys on file or am I missing something else?

cheers,

Kris

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ssh CVS access from another machine
  2003-02-25 20:06 ssh CVS access from another machine Kris Warkentin
@ 2003-02-25 20:13 ` Daniel Jacobowitz
  2003-02-25 20:15 ` Andrew Cagney
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Jacobowitz @ 2003-02-25 20:13 UTC (permalink / raw)
  To: Kris Warkentin; +Cc: gdb

On Tue, Feb 25, 2003 at 03:10:29PM -0500, Kris Warkentin wrote:
> I'm trying to access the repository from home and not having any luck.  It's
> probably just my ignorance on the mechanism so if there is a doc I should
> read, let me know.
> 
> I had created an account (generating identity.pub, etc.) at work and now I
> wanted to work from home.  I copied the contents of my $HOME/.ssh directory
> to my home machine (this is probably wrong) and then tried connecting.  I
> keep getting 'permission denied'.  I tried removing identity.pub and config
> (to get an interactive session) but that claimed "permission denied:
> public-key/keyboard-interactive"
> 
> Do I need to have multiple rsa keys on file or am I missing something else?

At a guess: try using ssh -1 on the second machine; it may have a newer
version of ssh and be trying a different protocol type.  Copying the
key ought to work.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ssh CVS access from another machine
  2003-02-25 20:06 ssh CVS access from another machine Kris Warkentin
  2003-02-25 20:13 ` Daniel Jacobowitz
@ 2003-02-25 20:15 ` Andrew Cagney
  2003-02-25 20:27   ` Kris Warkentin
  2003-02-25 20:27   ` Kris Warkentin
  1 sibling, 2 replies; 5+ messages in thread
From: Andrew Cagney @ 2003-02-25 20:15 UTC (permalink / raw)
  To: Kris Warkentin; +Cc: gdb

It's the .ssh/identity file that is the `key'.  Try `ssh -v ...' and 
very carefully read the output.  The protection of that key may be wrong 
for instance.

Andrew

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ssh CVS access from another machine
  2003-02-25 20:15 ` Andrew Cagney
@ 2003-02-25 20:27   ` Kris Warkentin
  2003-02-25 20:27   ` Kris Warkentin
  1 sibling, 0 replies; 5+ messages in thread
From: Kris Warkentin @ 2003-02-25 20:27 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb

Here's the output....doesn't look like anything is wrong....  Strange.  Oh
well, I guess I'll wait until I'm back in tomorrow.

cheers,

Kris

$ ssh -v sources.redhat.com
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f
debug1: Reading configuration data /home/kewarken/.ssh/config
debug1: Applying options for sources.redhat.com
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to sources.redhat.com [66.187.233.205] port 22.
debug1: Connection established.
debug1: identity file /home/kewarken/.ssh/identity type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.1p1
debug1: match: OpenSSH_3.1p1 pat OpenSSH_2.*,OpenSSH_3.0*,OpenSSH_3.1*
debug1: Local version string SSH-1.5-OpenSSH_3.4p1
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'sources.redhat.com' is known and matches the RSA1 host key.
debug1: Found key in /home/kewarken/.ssh/known_hosts:2
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: cipher_init: set keylen (16 -> 32)
debug1: cipher_init: set keylen (16 -> 32)
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Doing challenge response authentication.
debug1: No challenge.
Permission denied.
debug1: Calling cleanup 0x419440(0x0)

----- Original Message -----
From: "Andrew Cagney" <ac131313@redhat.com>
To: "Kris Warkentin" <kewarken@qnx.com>
Cc: <gdb@sources.redhat.com>
Sent: Tuesday, February 25, 2003 3:17 PM
Subject: Re: ssh CVS access from another machine


> It's the .ssh/identity file that is the `key'.  Try `ssh -v ...' and
> very carefully read the output.  The protection of that key may be wrong
> for instance.
>
> Andrew
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ssh CVS access from another machine
  2003-02-25 20:15 ` Andrew Cagney
  2003-02-25 20:27   ` Kris Warkentin
@ 2003-02-25 20:27   ` Kris Warkentin
  1 sibling, 0 replies; 5+ messages in thread
From: Kris Warkentin @ 2003-02-25 20:27 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb

$ ssh -v sources.redhat.com
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f
debug1: Reading configuration data /home/kewarken/.ssh/config
debug1: Applying options for sources.redhat.com
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to sources.redhat.com [66.187.233.205] port 22.
debug1: Connection established.
debug1: identity file /home/kewarken/.ssh/identity type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.1p1
debug1: match: OpenSSH_3.1p1 pat OpenSSH_2.*,OpenSSH_3.0*,OpenSSH_3.1*
debug1: Local version string SSH-1.5-OpenSSH_3.4p1
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'sources.redhat.com' is known and matches the RSA1 host key.
debug1: Found key in /home/kewarken/.ssh/known_hosts:2
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: cipher_init: set keylen (16 -> 32)
debug1: cipher_init: set keylen (16 -> 32)
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Doing challenge response authentication.
debug1: No challenge.
Permission denied.
debug1: Calling cleanup 0x419440(0x0)

----- Original Message -----
From: "Andrew Cagney" <ac131313@redhat.com>
To: "Kris Warkentin" <kewarken@qnx.com>
Cc: <gdb@sources.redhat.com>
Sent: Tuesday, February 25, 2003 3:17 PM
Subject: Re: ssh CVS access from another machine


> It's the .ssh/identity file that is the `key'.  Try `ssh -v ...' and
> very carefully read the output.  The protection of that key may be wrong
> for instance.
>
> Andrew
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-02-25 20:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-25 20:06 ssh CVS access from another machine Kris Warkentin
2003-02-25 20:13 ` Daniel Jacobowitz
2003-02-25 20:15 ` Andrew Cagney
2003-02-25 20:27   ` Kris Warkentin
2003-02-25 20:27   ` Kris Warkentin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).