Koozali.org: home of the SME Server

Putty with private/public key from Windows to Linux

Offline TeNeCo

  • ***
  • 60
  • +0/-0
Putty with private/public key from Windows to Linux
« 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
....

Offline kruhm

  • *
  • 680
  • +0/-0
Re: Putty with private/public key from Windows to Linux
« Reply #1 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.

Offline TeNeCo

  • ***
  • 60
  • +0/-0
Re: Putty with private/public key from Windows to Linux
« Reply #2 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)


Offline TeNeCo

  • ***
  • 60
  • +0/-0
Re: Putty with private/public key from Windows to Linux
« Reply #4 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.