Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: TeNeCo on December 19, 2007, 07:32:38 PM

Title: Putty with private/public key from Windows to Linux
Post by: TeNeCo on December 19, 2007, 07:32:38 PM
the first workstation connected to my SME7.2 was a Windows XP machine. With windows I can use Putty with a private key to connect to the sme server. That works fine. But now I'm trying to connect sme from a Linux WS using Putty and the private key copied from the windows machine. The parameters in Putty are the same, the Putty window opens, the server asks for the user and the passphrase but it doesn't accept the passphrase. Any ideas?
I can open that private key file on the Linux ws with an editor:
PuTTY-User-Key-File-2: ssh-dss

Encryption: aes256-cbc

Comment: imported-openssh-key

Public-Lines: 10
.....
Private-Lines: 1
....
Title: Re: Putty with private/public key from Windows to Linux
Post by: kruhm on December 20, 2007, 08:22:18 AM
Make sure there are NO RETURNS in the file. Pasting the public key into the file sometimes causes RETURNS (new lines). This will mess it up.
Title: Re: Putty with private/public key from Windows to Linux
Post by: TeNeCo on December 20, 2007, 09:02:36 AM
Hm, I didn't open the key file, I just copied the file. I assume that is has something to do with the charset? In the passphrase are German Umlaute äÖü
It's a pity that I can't reach Tom Carroll's HowTo (http://www.carrollweb.net/putty/putty-howto.html)
Title: Re: Putty with private/public key from Windows to Linux
Post by: kruhm on December 20, 2007, 09:12:02 AM
-go to google.com
-type: http://www.carrollweb.net/putty/putty-howto.html)
-click SEARCH
-click the CACHE button

or

http://209.85.207.104/search?q=cache:_HLB5vyA4ZgJ:www.carrollweb.net/putty/putty-howto.html+http://www.carrollweb.net/putty/putty-howto.html&hl=en&ct=clnk&cd=1&gl=us&client=opera

of course, everything is in the WIKI: http://wiki.contribs.org/SSH_Public-Private_Keys
Title: Re: Putty with private/public key from Windows to Linux
Post by: TeNeCo on December 20, 2007, 10:33:41 AM
OK, but the question is: why can't I use the public key generated with Puttygen on a windows PC on the Linux workstation.