ssh-copy-id
Eitan Adler
eadler at freebsd.org
Fri Feb 28 23:10:49 UTC 2014
On 28 February 2014 18:08, Eitan Adler <eadler at freebsd.org> wrote:
> On 28 February 2014 17:15, Mark Felder <feld at freebsd.org> wrote:
> ....
>
>> In my opinion, if I'm using an ssh utility and I specify "-i" flag it
>> should be the private key.
>
> Hey all,
>
> Sorry about the confusion ssh-copy-id has caused you.
>
> Does the following patch help ?
...
> @@ -64,11 +64,14 @@ options=""
>
> IFS=$nl
>
> -while getopts 'i:lo:p:' arg; do
> +while getopts 'i:lo:p:v' arg; do
> case $arg in
> i)
> hasarg="x"
> - if [ -r "$OPTARG" ]; then
> + if [ -r "${OPTARG}.pub" ]; then
> + echo helo
^ obviously to be committed without this line ;)
--
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams
More information about the freebsd-stable
mailing list