public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* ssh problems and wrong id_rsa.pub key
@ 2008-07-29 14:07 Dave Nomura
  2008-07-29 14:26 ` Christopher Faylor
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Nomura @ 2008-07-29 14:07 UTC (permalink / raw)
  To: overseers

I've been unable to get the 'git push' to work because the ssh to 
sources.redhat.com fails.

I think the problem I'm having with ssh has to do with my username.  My 
normal username on my local machines is 'dcn' but I thought it likely to 
be not unique enough for RedHat so I chose 'dcnomura'.  I think I 
probably generated the id_rsa.pub via:
    ssh-keygen -t rsa -C dcn
but it should have been
   ssh-keygen -t rsa -C dcnomura

If the username 'dcn' is available then it would might be easier to just 
change my username to that.  Otherwise I need to upload a corrected 
id_rsa.pub.

Please advise me on what course of action I need to take.

-- 
Dave Nomura
LTC Linux Power Toolchain

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

* Re: ssh problems and wrong id_rsa.pub key
  2008-07-29 14:07 ssh problems and wrong id_rsa.pub key Dave Nomura
@ 2008-07-29 14:26 ` Christopher Faylor
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Faylor @ 2008-07-29 14:26 UTC (permalink / raw)
  To: overseers, Dave Nomura

On Tue, Jul 29, 2008 at 07:06:53AM -0700, Dave Nomura wrote:
> I've been unable to get the 'git push' to work because the ssh to 
> sources.redhat.com fails.
>
> I think the problem I'm having with ssh has to do with my username.  My 
> normal username on my local machines is 'dcn' but I thought it likely to be 
> not unique enough for RedHat so I chose 'dcnomura'.  I think I probably 
> generated the id_rsa.pub via:
>    ssh-keygen -t rsa -C dcn
> but it should have been
>   ssh-keygen -t rsa -C dcnomura
>
> If the username 'dcn' is available then it would might be easier to just 
> change my username to that.  Otherwise I need to upload a corrected 
> id_rsa.pub.
>
> Please advise me on what course of action I need to take.

AFAIK, the key is not sensitive to the -"C"omment field.

You need to make sure that you access the system using 'dcnomura@sourceware.org'.
You can change your .ssh/config file like this:

Host sourceware.org
	User dcnomura

Host gcc.gnu.org
	User dcnomura

to make this happen automatically.

For more information: "man ssh_config".

cgf

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

end of thread, other threads:[~2008-07-29 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-29 14:07 ssh problems and wrong id_rsa.pub key Dave Nomura
2008-07-29 14:26 ` Christopher Faylor

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).