Date: Fri, 28 Feb 2014 18:10:18 -0500 From: Eitan Adler <eadler@freebsd.org> To: Mark Felder <feld@freebsd.org> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: ssh-copy-id Message-ID: <CAF6rxg=xsbaYLUx8vu1GMqe5t4Oo2G0pKmXEGk%2BNoSR=oFasPA@mail.gmail.com> In-Reply-To: <CAF6rxg=SBno64BpmxcvddQFpnAePFHKZ%2B1kp1a%2BAY5F6-xQsMA@mail.gmail.com> References: <2cba8fd9cc51dedc1bd5e127046f4ab7@dweimer.net> <1393618827.9046.89104957.4A974C56@webmail.messagingengine.com> <ea6804d070e9b2e4393eaca2fa45d938@dweimer.net> <1393625741.9928.89141917.3B723B0F@webmail.messagingengine.com> <CAF6rxg=SBno64BpmxcvddQFpnAePFHKZ%2B1kp1a%2BAY5F6-xQsMA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28 February 2014 18:08, Eitan Adler <eadler@freebsd.org> wrote: > On 28 February 2014 17:15, Mark Felder <feld@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxg=xsbaYLUx8vu1GMqe5t4Oo2G0pKmXEGk%2BNoSR=oFasPA>