Displaying 2 results from an estimated 2 matches for "bef5c95".
Did you mean:
bef5545
2016 May 30
1
[Bug 2575] New: ssh-copy-id fails when it can not find any key file in ~/.ssh
...sh-copy-id: line 87: /root/.pub: No such file or
directory'
Checking also if the file is regular file should solve the issue.
Failing earlier is probably not a good idea, because we can still use
ssh-agent keys (remains working).
diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id
index bef5c95..f750e70 100644
--- a/contrib/ssh-copy-id
+++ b/contrib/ssh-copy-id
@@ -189,7 +189,8 @@ SSH_OPTS="${SSH_OPTS:+$SSH_OPTS }'$(quote
"$USER_HOST")'"
# and populate "$@" for later use (only way to get proper quoting of
options)
eval set -- "$SSH_OPTS"...
2016 Mar 12
3
Problem with ssh-copy-id when home folder contains spaces
...provided an easy fix, basically just adding quotes, which I
attached to this mail. Would that 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_FIL...