ssh-copy-id: avoid sending private keys; add -v option
authoreadler <eadler@FreeBSD.org>
Sat, 1 Mar 2014 03:17:46 +0000 (03:17 +0000)
committereadler <eadler@FreeBSD.org>
Sat, 1 Mar 2014 03:17:46 +0000 (03:17 +0000)
commit74725c830c962ae630f7495d398ce9c2e633204c
treef84110c7b2c586e5dff52811411749d4abb64497
parentf1be80c4cf19e5c0f26c19032dd313135f9f09ea
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
usr.bin/ssh-copy-id/ssh-copy-id.1
usr.bin/ssh-copy-id/ssh-copy-id.sh