[CentOS] Re: 2 SSH questions

Wed Jan 11 02:42:44 UTC 2006
Keith Morse <kgmorse at mpcu.com>

Robert Moskowitz wrote:
> At 04:58 PM 1/10/2006, Keith Morse wrote:
>
>> >
>> And the cheap way I do this is  either "ssh-keygen -t dsa" or
>> "ssh-keygen -t rsa" which creates the directory structure every time,
>> and consistenly too.
>
>
> Now I really believe I have something configured wrong....
>
> On my Astaro firewall, I had to create everything manually.  As it
> does not have a Unix adduser or secure file upload.
>

Astaro??? Keithy confused now.  Was is loss, Astaro?.  (Don't answer
that, I know what it is but have never used it).  My reply was based on
connecting to a centos based server.


> So I followed my working 'instructions'.
>
> I used:
>
> /usr/bin/ssh-keygen -X -f ~/.ssh/identity.pub >> ~/.ssh/authorized_keys2
>
> and that worked fine on astaro, but not here.  So I changed ..._keys2
> to ..._keys and no help.
>
> Oh, identity.pub was created with:
>
> cat > ~/.ssh/identity.pub
> <copy clipboard that has public key in it>
> CNTL+D
Possibility of the clipboard corrupting the copied text?  Adding
newlines where they didn't exist before?  Personally I copy .pub with
scp to the destination host

>
> Of course I don't know what the -X option does.  My debian friend gave
> me that command structure...
>

man ssh-keygen does even list -X as an option.  Maybe it's particular to
that Debian distribution?