[Bug 1980] use updated ssh-copy-id

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Feb 8 10:45:49 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=1980

--- Comment #19 from Damien Miller <djm at mindrot.org> ---
> > >  67 GETOPT_PARSED=$(getopt --options 'i::p:nh?' --name "$0" --quiet -- "$@")
> > 
> > Would it be possible to pass -o [arg] though to ssh? Quite a few
> > people have requested this over the years.
> 
> I presume that will need to be properly quoted in order to be passed
> through, and that they may want to specify more than one -o option.

I don't think so, you just need to retain -o's argument and pass the
whole mass through quoted. E.g.

    -o)
        PORTOPTION="\"-o$2"\ "
      shift 2
      ;;

should do it.

> > I think populate_new_ids() might need a umask call too.
> 
> Do you mean 0022 in case they have something silly set, or 0177 or
> some
> such for reasons of paranoia?

paranoia ;)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list