Displaying 4 results from an estimated 4 matches for "populate_new_id".
Did you mean:
populate_new_ids
2013 Jan 02
12
[Bug 1980] use updated ssh-copy-id
https://bugzilla.mindrot.org/show_bug.cgi?id=1980
dajoker at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dajoker at gmail.com
--- Comment #6 from dajoker at gmail.com ---
The ' openssh-unix-dev at mindrot.org' mailing list thread
2013 Feb 07
8
[Bug 1980] use updated ssh-copy-id
https://bugzilla.mindrot.org/show_bug.cgi?id=1980
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |1614, 1669, 1822, 1823,
| |2068
--- Comment #18 from Damien Miller
2016 Mar 19
3
ssh-copy-id no newline bug
...key to an existing key, invalidating both keys.
This can be fixed by simply adding a newline before appending the key.
Something like this change to
openssh-source/openssh-6.7p1/contrib/ssh-copy-id might work:
# Assuming that the remote host treats ~/.ssh/authorized_keys as one
might expect
populate_new_ids 0
[ "$DRY_RUN" ] || printf '%s\n' "$NEW_IDS" | ssh "$@" "
umask 077 ;
mkdir -p .ssh && \
echo >> .ssh/authorized_keys && \
cat >> .ssh/authorized_keys || exit 1 ;
if type restorecon >/dev/null 2>&1 ; then re...
2016 Mar 12
3
Problem with ssh-copy-id when home folder contains spaces
...t be ok to apply upstream?
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
diff --git a/usr/bin/ssh-copy-id.old b/usr/bin/ssh-copy-id
index afde8b1..bef5c95 100755
--- a/usr/bin/ssh-copy-id.old
+++ b/usr/bin/ssh-copy-id
@@ -233,17 +233,17 @@ populate_new_ids() {
-o ControlPath=none \
-o LogLevel=INFO \
-o PreferredAuthentications=publickey \
- -o IdentitiesOnly=yes "$@" exit 2>$L_TMP_ID_FILE.stderr </dev/null
+ -o IdentitiesOnly=yes "$@" exit 2>"$L_TMP_ID_FI...