| Author |
Message |
kangaby
Joined: 20 Oct 2004
Posts: 64
|
| Posted: Fri Apr 27, 2007 3:19 am Post subject: LISH Host Keys |
|
|
Since migrating from host35 to host107 I have not been able to get my Putty generated ssh keys to work when logging into LISH.
I keep getting "Server refused our key"
I copied the public key contents to the server using sshkeys.cfm both with and without the comment parts with no luck.
I even tried regenerating DSA keys and loading those as well, again without any luck.
Code:
---- BEGIN SSH2 PUBLIC KEY ----
Comment: "dsa-key-20070427"
blah key stuff
---- END SSH2 PUBLIC KEY ----
and
Code:
blah key stuff
I got this to work on host35, I just don't know if I'm doing something crazy or there is actually something wrong. |
|
| Back to top |
|
mikegrb
Joined: 16 Oct 2003
Posts: 264
Location: Dr Wierd's Lab, South Jersey Shore
|
| Posted: Fri Apr 27, 2007 3:28 am Post subject: |
|
|
Your key looks to be in the correct format on the new hosts. I've gone ahead and copied the public key for the old key from your old host to the new one manually. If that doesn't work for you let me know and I can watch the logs while you try logging in to see if it gives anything telling.
Michael |
|
| Back to top |
|
kangaby
Joined: 20 Oct 2004
Posts: 64
|
| Posted: Fri Apr 27, 2007 3:29 am Post subject: |
|
|
:idea: Important safety tip.
When pasting your Putty public key you need to copy it out of the public key window of the Putty Key Generator.
Don't open it in Wordpad or Notepad and paste it from there, otherwise it won't work.
Don't you just hate the way you find the answer minutes after posting a question in a forum. |
|
| Back to top |
|
kangaby
Joined: 20 Oct 2004
Posts: 64
|
| Posted: Fri Apr 27, 2007 3:34 am Post subject: |
|
|
Thanks Mike,
I've reloaded my new key as I didn't save the old ones. It's now working.
Bad Wordpad. Bad Notepad.
Thanks again, |
|
| Back to top |
|
zunzun
Joined: 18 Feb 2005
Posts: 175
Location: Birmingham, Alabama USA
|
| Posted: Fri Apr 27, 2007 7:59 am Post subject: |
|
|
kangaby wrote: Bad Wordpad. Bad Notepad.
Send me the source code for Notepad and I'll see if I can fix it.
James, snicker snicker |
|
| Back to top |
|
pclissold
Joined: 24 Oct 2003
Posts: 471
Location: Netherlands
|
| Posted: Fri Apr 27, 2007 11:33 am Post subject: |
|
|
kangaby wrote: Bad Wordpad. Bad Notepad.
Bad Windoze; bad, bad Micro$not.
Seen in someone's sig:
Microsoft is not the answer. Microsoft is the question. Hell, no (or Linux) is the answer. |
|
| Back to top |
|
| |