Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Putty Key using it in linux

22 views
Skip to first unread message

Chris Wrobel

unread,
Jan 18, 2005, 1:42:41 PM1/18/05
to
Hi everyone,
I need help connecting to our corporate server using ssh. I got myself a
linux workstation at work where everyone else uses windows, the only thing
I need to get workig is ssh connection to our corporate system. Right now
we use putty in windows in order to loginto the server. I need to find a
way to use the putty ssh key to use it in linux. I'm completely stunned
I've been reading manuals but there is no info how to do that, :( plus I'm
too busy at work to try to get it to work..


I read the sshkey which is named XXX.ppk and it has public and private key
entries, how do i convert it so i can use it in linux. I tried passing -i
option to ssh
ssh -i XXX.ppk hostname

but
chris@local:~$ ssh -i ~/.ssh/XXX.ppk XXX.net
Enter passphrase for key '/home/chris/.ssh/XXX.ppk':
Permission denied (publickey).

I dont know how to get this to work please help otherwise I'll have to
switch back to windows, ;(


Thanks guys

Olive Esseret

unread,
Jan 18, 2005, 2:28:40 PM1/18/05
to

You can generate an openssh public key from a private putty key: Lauch
puttygen (in the putty directory) then load the private key (File ->
Load) and you will see what you have cut and paste in openssh.

By the way; I don't quite understand what you want: It is considered
unsafe to share the same private key between several machines. You
should generate a private key for your linux machine with ssh-keygen and
add the public key in .ssh/authorized_keys of your server.

Olive

>
>
> Thanks guys

Simon

unread,
Jan 19, 2005, 4:25:42 PM1/19/05
to
On Tue, 18 Jan 2005 18:42:41 GMT, Chris Wrobel <wrobe...@yahoo.ca> wrote:
> I read the sshkey which is named XXX.ppk and it has public and private key
> entries, how do i convert it so i can use it in linux.

puttygen can convert keys to OpenSSH format.


--
Simon <si...@no-dns-yet.org.uk> **** GPG: F4A23C69
"We demand rigidly defined areas of doubt and uncertainty."
- Douglas Adams

0 new messages