[CentOS] does ssh-copy-id not use "id_rsa.pub" file by default?

Robert P. J. Day rpjday at crashcourse.ca
Thu Oct 7 10:11:06 EDT 2010


On Thu, 7 Oct 2010, Robert Heller wrote:

> At Thu, 7 Oct 2010 07:23:55 -0400 (EDT) CentOS mailing list <centos at centos.org> wrote:
>
> >
> > On Thu, 7 Oct 2010, John Doe wrote:
> >
> > > From: Robert P. J. Day <rpjday at crashcourse.ca>
> > >
> > > >   If  the  -i  option   is  given   then   the   identity   file
> > > >    (defaults   to  ~/.ssh/id_rsa.pub)  is  used
> > >
> > > My man page says: "~/.ssh/identity.pub"...
> >
> >   argh ... sorry, i was logged into the wrong system when reading the
> > man page, i was connected to my ubuntu system.  interesting that
> > different distros have different default files for the same command.
> > i will definitely remember that.
>
>
> My my (CentOS 5.5) man ssy-keygen:
>
>      ~/.ssh/identity.pub
>              Contains the protocol version 1 RSA public key for authentica-
>              tion.  The contents of this file should be added to
>              ~/.ssh/authorized_keys on all machines where the user wishes to
>              log in using RSA authentication.  There is no need to keep the
>              contents of this file secret.
>
> identity.pub is *OpenSSH V1* public key file. How old is the ubuntu
> system? Is OpenSSH V1 or V2 installed?  The V1 RSA protocol is old
> available for older systems...

  ubuntu 10.10 (yes, really, development version constantly updated to
track upcoming 10.10).  in short, really new.  so the current
centos 5.5 ssh-copy-id command clearly(?) still has openssh V1 default
set.  not a big deal, just surprised me.

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the CentOS mailing list