Commit Graph

5 Commits

Author SHA1 Message Date
Eitan Adler
df54ea8001 ssh-copy-id: avoid sending private keys; add -v option
To help avoid confusion: when attempting to send a key file check to see if a
file of the same name exists with a '.pub' suffix and send that instead.  This
mimics the behavior of other ssh-copy-id scripts.

Add -v passthrough.

Reported by:	dweimer <dweimer@dweimer.net>
Reported by:	feld
MFC After:	1 week
2014-03-01 03:17:46 +00:00
Eitan Adler
843ab1e81f Add examples to the ssh-copy-id script.
Approved by:	bcr (mentor)
MFC after:	3 days
2012-11-13 13:06:57 +00:00
Eitan Adler
a018185aeb Clarify where the authorized_key file lives.
Approved by:	bcr (mentor)
MFC after:	3 days
2012-11-12 14:16:39 +00:00
Eitan Adler
a0f63581ce Add the standard exit status to the ssh-copy-id man page.
Approved by:	bcr (mentor)
MFC after:	3 days
2012-11-11 15:34:58 +00:00
Eitan Adler
2beb708522 Add a clean-room reimplementation of a script originally
found in openssh's contrib directory.

This version has more features and is better written.
I intend to submit this upstream as well.

Reviewed by:	bapt
Reviewed by:	des
Approved by:	cperciva
MFC after:	1 week
2012-10-22 03:57:00 +00:00