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

Robert Heller heller at deepsoft.com
Thu Oct 7 13:38:32 UTC 2010


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...


> 
> rday
> 

-- 
Robert Heller             -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software        -- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
heller at deepsoft.com       -- Contract Programming: C/C++, Tcl/Tk

       



More information about the CentOS mailing list