Re: Puttygen saved keys and FreeBSD ssh

From: Jeff Pettorino (first_last@non.agilentDOTcom)
Date: 12/17/02


From: "Jeff Pettorino" <first_last@non.agilentDOTcom>
Date: Tue, 17 Dec 2002 08:36:01 -0700

Ric, I know this sounds simplistic, but it happens to the best of us...are
you converting the files from MS-DOS to UX text files? I have no experience
on saving keys with PuTTY, but I know often when the web code monkeys around
here break something, a quick trip to VI reveals all sorts of nasty looking
^M characters...

Like I said, you have probably already checked this, but it wasn't mentioned
in your post.

"Ric" <ric@digital-animations.com> wrote in message
news:WDDL9.5467$Om2.802598@newsfep2-win.server.ntli.net...
> I have several private keys in text files saved from PuTTYgen on Windows
but
> when I add these to authorized_keys2 in my .ssh directory in FreeBSD they
> don't work. They work fine when I simply cut and paste from the box in
> PuTTYgen but that is in a different format - in fact it says at the top of
the
> box "Public key for pasting into OpenSSH authorized_keys2 file".
>
> The format change is obvious between the two but it seems I can't simply
> rearange the key saved to a text file into the same format as that which I
cut
> and paste direct from PuTTYgen - it looks OK but doesn't work.
>
> Does anyone know a way to convert a saved text file public key to the
format
> required for authorized_keys2 file? I realise this doesn't make too much
sense
> but if you've tried it yourself you'll know what I mean. I have people
sending
> me their saved public key files for inclusion on our mail server but I
can't
> actually use them unless there is a conversion method, and even if I ask
them
> to cut and paste rather than save I know the thickest among them will
still
> save to file, send me the file as they leave the office for a sales trip
to
> the US and then complain to upper management that they couldn't get their
> important mail whilst away.
>
> Cheers
> Ric



Relevant Pages

  • Re: Multiple date formats in a Table
    ... could choose a future date so they all sort at the end. ... However if you are set up to use UK format dates of dd/mm/yy, ... converting any entries where you know the full date. ... > iii) Once you've got a function that works, create a new query in design ...
    (microsoft.public.access.tablesdbdesign)
  • Puttygen saved keys and FreeBSD ssh
    ... when I add these to authorized_keys2 in my .ssh directory in FreeBSD they ... PuTTYgen but that is in a different format - in fact it says at the top of the ... Does anyone know a way to convert a saved text file public key to the format ... me their saved public key files for inclusion on our mail server but I can't ...
    (comp.security.unix)
  • Re: mp3 in the car
    ... >>I started converting to CDs and I have spent years replacing all the ... I seriously doubt they'd be available in MP3 format. ... >>many aren't available in as cassettes. ... When I said converting, I meant replacing. ...
    (rec.audio.car)
  • Re: using "!!" in "c"
    ... that Keith was". ... Here's what the standard says about the "%p" format for the *printf ... The argument shall be a pointer to void. ... converting an integer to a pointer-to-function might ...
    (comp.lang.c)
  • Re: Convert DirectX secondary buffer contents to floating point
    ... > converting at load time is preferable. ... What API should I use to do ... Streaming is definately the way to go, it prevents wasting memory that could ... validate the format and determine it's size, locate the data chunk, and read ...
    (microsoft.public.win32.programmer.directx.audio)