Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jun 02, 2013 9:44 pm 
Offline

Joined: Sun May 12, 2013 10:45 pm
Posts: 1
I just wanted to post a confirmation on what DigitalNoise tried. I was having the same exact problems with Ubuntu 12.04. I ended up generating the key pair using the Linux ssh-keygen command, moving the contents of the generated public key into ~/.ssh/authorized_keys, and converting the private key into the PuTTY .ppk format.

Did the trick for me after some frustration so thanks for posting your solution!


Top
   
PostPosted: Mon Jun 03, 2013 5:13 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
ggrigery wrote:
I just wanted to post a confirmation on what DigitalNoise tried. I was having the same exact problems with Ubuntu 12.04. I ended up generating the key pair using the Linux ssh-keygen command, moving the contents of the generated public key into ~/.ssh/authorized_keys, and converting the private key into the PuTTY .ppk format.

Did the trick for me after some frustration so thanks for posting your solution!


Pendantic comment - ssh-keygen isn't a Linux command, it's a OpenSSH command developed on OpenBSD and ported to Linux.


Glad it's working though.


Top
   
PostPosted: Mon Jun 03, 2013 5:18 pm 
Offline
Senior Newbie

Joined: Tue May 22, 2012 1:13 am
Posts: 12
sednet wrote:
ggrigery wrote:
I just wanted to post a confirmation on what DigitalNoise tried. I was having the same exact problems with Ubuntu 12.04. I ended up generating the key pair using the Linux ssh-keygen command, moving the contents of the generated public key into ~/.ssh/authorized_keys, and converting the private key into the PuTTY .ppk format.

Did the trick for me after some frustration so thanks for posting your solution!


Pendantic comment - ssh-keygen isn't a Linux command, it's a OpenSSH command developed on OpenBSD and ported to Linux.


Glad it's working though.


I'm more curious as to why Ubuntu 12.04 isn't generating the correct key or format out of the box. I made a post on the Ubuntu official forums but there were only crickets (and, considering those forums... not surprising).


Top
   
PostPosted: Mon Jun 03, 2013 10:29 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
DigitalNoise wrote:
sednet wrote:
ggrigery wrote:
I just wanted to post a confirmation on what DigitalNoise tried. I was having the same exact problems with Ubuntu 12.04. I ended up generating the key pair using the Linux ssh-keygen command, moving the contents of the generated public key into ~/.ssh/authorized_keys, and converting the private key into the PuTTY .ppk format.

Did the trick for me after some frustration so thanks for posting your solution!


Pendantic comment - ssh-keygen isn't a Linux command, it's a OpenSSH command developed on OpenBSD and ported to Linux.


Glad it's working though.


I'm more curious as to why Ubuntu 12.04 isn't generating the correct key or format out of the box. I made a post on the Ubuntu official forums but there were only crickets (and, considering those forums... not surprising).


>> I'm more curious as to why Ubuntu 12.04 isn't generating the correct key

It's a different product?

The Ubuntu forums have always been great for me.


Top
   
PostPosted: Fri Jun 07, 2013 4:46 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
DigitalNoise wrote:
sednet wrote:
ggrigery wrote:
I just wanted to post a confirmation on what DigitalNoise tried. I was having the same exact problems with Ubuntu 12.04. I ended up generating the key pair using the Linux ssh-keygen command, moving the contents of the generated public key into ~/.ssh/authorized_keys, and converting the private key into the PuTTY .ppk format.

Did the trick for me after some frustration so thanks for posting your solution!


Pendantic comment - ssh-keygen isn't a Linux command, it's a OpenSSH command developed on OpenBSD and ported to Linux.


Glad it's working though.


I'm more curious as to why Ubuntu 12.04 isn't generating the correct key or format out of the box. I made a post on the Ubuntu official forums but there were only crickets (and, considering those forums... not surprising).


Neither Ubuntu nor Putty are using keys wrong, they are just using different key formats.

SSH on Ubuntu 12.04 generates OpenSSH formated keys, it does the same as every other Linux and *BSD. If you want to use key authentication with putty you need to convert them into the .ppk format that putty uses either with puttygen or ssh-keygen.


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


Who is online

Users browsing this forum: No registered users and 1 guest


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