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

2010-10-07 Thread Robert P. J. Day
yesterday, i was demoing how to use ssh-copy-id on centos 5.5 to copy one's public key to another machine and account so you don't need to type the password anymore. i used ssh-keygen to create the standard RSA-format files, then checked the man page for ssh-copy-id, which reads:

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

2010-10-07 Thread John Doe
From: Robert P. J. Day rpj...@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... JD ___ CentOS mailing list

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

2010-10-07 Thread Robert P. J. Day
On Thu, 7 Oct 2010, John Doe wrote: From: Robert P. J. Day rpj...@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

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

2010-10-07 Thread Ben McGinnes
On 7/10/10 10:23 PM, Robert P. J. Day wrote: 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.

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

2010-10-07 Thread Václav Strachoň
OpenBSD is not shipped with ssh-copy-id. But ssh-copy-id is only script. So if you try this: [r...@wenca ~]# cd /usr/bin/ [r...@wenca bin]# head -n 20 ssh-copy-id #!/bin/sh # Shell script to install your identity.pub on a remote machine # Takes the remote machine name as an argument. #

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

2010-10-07 Thread Ben McGinnes
On 7/10/10 11:20 PM, Václav Strachoň wrote: OpenBSD is not shipped with ssh-copy-id. But ssh-copy-id is only script. So if you try this: Ah, cool. The last time I needed to do this it was the old-fashioned way. Regards, Ben signature.asc Description: OpenPGP digital signature

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

2010-10-07 Thread Robert Heller
At Thu, 7 Oct 2010 07:23:55 -0400 (EDT) CentOS mailing list centos@centos.org wrote: On Thu, 7 Oct 2010, John Doe wrote: From: Robert P. J. Day rpj...@crashcourse.ca If the -i option is given then the identity file (defaults to ~/.ssh/id_rsa.pub) is used

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

2010-10-07 Thread Robert P. J. Day
On Thu, 7 Oct 2010, Robert Heller wrote: At Thu, 7 Oct 2010 07:23:55 -0400 (EDT) CentOS mailing list centos@centos.org wrote: On Thu, 7 Oct 2010, John Doe wrote: From: Robert P. J. Day rpj...@crashcourse.ca If the -i option is given then the identity file