Re: ssh-copy-id

2007-07-14 Thread Gustavo De Nardin

On 13/07/07, Pollywog <[EMAIL PROTECTED]> wrote:

Since FreeBSD does not have ssh-copy-id as part of the OpenSSH package, what
is the best way to copy a public key to an account on another host?  Some
Linuxes (Debian and Ubuntu) have a ssh-copy-id script for this in their
OpenSSH packages.


Well dunno about "best way", but I used to do something like this..:
ssh $remote 'mkdir -m 600 .ssh && cat - >>.ssh/authorized_keys'
<~/.ssh/id_rsa.pub

But of course ssh-copy-id is much smarter.

--
(nil)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh-copy-id

2007-07-13 Thread Jonathan Horne
On Friday 13 July 2007 11:51:12 Pollywog wrote:
> Since FreeBSD does not have ssh-copy-id as part of the OpenSSH package,
> what is the best way to copy a public key to an account on another host? 
> Some Linuxes (Debian and Ubuntu) have a ssh-copy-id script for this in
> their OpenSSH packages.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

i just scp the id file to my homedir on the destination computer.  then i:

cat id_rsa.pub >> .ssh/authorized_keys2

hth,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ssh-copy-id

2007-07-13 Thread Pollywog
Since FreeBSD does not have ssh-copy-id as part of the OpenSSH package, what 
is the best way to copy a public key to an account on another host?  Some 
Linuxes (Debian and Ubuntu) have a ssh-copy-id script for this in their 
OpenSSH packages.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh-copy-id?

2006-05-07 Thread Daniel Bye
On Sun, May 07, 2006 at 01:32:20PM -0400, Peter wrote:
> Some documentation I have refers to the program ssh-copy-id to
> faciliate the copying of a public key to a remote host.  I can't locate
> it on my FreeBSD 5.5 system nor on my OpenBSD 3.8 system.  However, it
> exists on my Slackware 10.2 box.  Where do I find the appropriate
> binary for FreeBSD?

5 seconds on Google told me that it is a script, not a binary.  That
being the case, it should be a simple matter to port it from your Linux
box.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp4KT1N1bsFH.pgp
Description: PGP signature


ssh-copy-id?

2006-05-07 Thread Peter
Some documentation I have refers to the program ssh-copy-id to
faciliate the copying of a public key to a remote host.  I can't locate
it on my FreeBSD 5.5 system nor on my OpenBSD 3.8 system.  However, it
exists on my Slackware 10.2 box.  Where do I find the appropriate
binary for FreeBSD?

Peter

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"