Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: LISH Host Keys
PostPosted: Fri Apr 27, 2007 4:19 am 
Offline
Senior Member

Joined: Wed Oct 20, 2004 8:55 am
Posts: 120
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.


Top
   
 Post subject:
PostPosted: Fri Apr 27, 2007 4:28 am 
Offline
Linode Staff
User avatar

Joined: Fri Oct 17, 2003 12:38 am
Posts: 287
Location: Dr Wierd's Lab, South Jersey Shore
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


Top
   
 Post subject:
PostPosted: Fri Apr 27, 2007 4:29 am 
Offline
Senior Member

Joined: Wed Oct 20, 2004 8:55 am
Posts: 120
: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.


Top
   
 Post subject:
PostPosted: Fri Apr 27, 2007 4:34 am 
Offline
Senior Member

Joined: Wed Oct 20, 2004 8:55 am
Posts: 120
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,


Top
   
 Post subject:
PostPosted: Fri Apr 27, 2007 8:59 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
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


Top
   
 Post subject:
PostPosted: Fri Apr 27, 2007 12:33 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
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.

_________________
/ Peter


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group