View | Details | Raw Unified | Return to bug 2214
Collapse All | Expand All

(-)contrib/ssh-copy-id (+1 lines)
Lines 215-220 Link Here
215
        # The point being that if file based, ssh needs the private key, which it cannot
215
        # The point being that if file based, ssh needs the private key, which it cannot
216
        # find if only given the contents of the .pub file in an unrelated tmpfile
216
        # find if only given the contents of the .pub file in an unrelated tmpfile
217
        ssh -i "${PRIV_ID_FILE:-$L_TMP_ID_FILE}" \
217
        ssh -i "${PRIV_ID_FILE:-$L_TMP_ID_FILE}" \
218
            -o LogLevel=INFO \
218
            -o PreferredAuthentications=publickey \
219
            -o PreferredAuthentications=publickey \
219
            -o IdentitiesOnly=yes "$@" exit 2>$L_TMP_ID_FILE.stderr </dev/null
220
            -o IdentitiesOnly=yes "$@" exit 2>$L_TMP_ID_FILE.stderr </dev/null
220
        if [ "$?" = "$L_SUCCESS" ] ; then
221
        if [ "$?" = "$L_SUCCESS" ] ; then

Return to bug 2214