Bugzilla – Attachment 2210 Details for
Bug 1980
use updated ssh-copy-id
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch to restore contexts on authorized_keys
file_1980.txt (text/plain), 752 bytes, created by
Martin Kletzander
on 2013-01-23 03:07:33 AEDT
(
hide
)
Description:
Patch to restore contexts on authorized_keys
Filename:
MIME Type:
Creator:
Martin Kletzander
Created:
2013-01-23 03:07:33 AEDT
Size:
752 bytes
patch
obsolete
>diff --git a/ssh-copy-id b/ssh-copy-id >index de08d9c..8d86184 100755 >--- a/ssh-copy-id >+++ b/ssh-copy-id >@@ -197,7 +197,13 @@ case "$REMOTE_VERSION" in > *) > # Assuming that the remote host treats ~/.ssh/authorized_keys as one might expect > populate_new_ids 0 >- [ "$DRY_RUN" ] || printf "\n$NEW_IDS\n" | ssh $PORTOPTION $USER_HOST "umask 077 ; mkdir -p .ssh ; cat >> ~/.ssh/authorized_keys" || exit 1 >+ [ "$DRY_RUN" ] || printf "\n$NEW_IDS\n" | ssh $PORTOPTION $USER_HOST " >+umask 077; >+mkdir -p ~/.ssh || exit 1; >+cat >> ~/.ssh/authorized_keys || exit 1; >+ret=$?; >+which restorecon >/dev/null 2>&1 && restorecon -F .ssh .ssh/authorized_keys >+exit $ret" || exit 1 > ADDED=$(printf "$NEW_IDS\n" | wc -l) > ;; > esac
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1980
:
2133
| 2210