Bugzilla – Attachment 2543 Details for
Bug 2349
ssh-copy-id transfer keys into current directory instead of home folder
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible patch to copy key into home folder (instead of current directory)
ssh-copy-id.patch (text/plain), 619 bytes, created by
Gabriel Magno
on 2015-02-04 14:26:25 AEDT
(
hide
)
Description:
Possible patch to copy key into home folder (instead of current directory)
Filename:
MIME Type:
Creator:
Gabriel Magno
Created:
2015-02-04 14:26:25 AEDT
Size:
619 bytes
patch
obsolete
>--- /usr/bin/ssh-copy-id 2014-10-06 23:28:32.000000000 -0300 >+++ ssh-copy-id 2015-02-04 00:53:50.719901069 -0200 >@@ -271,8 +271,8 @@ > populate_new_ids 0 > [ "$DRY_RUN" ] || printf '%s\n' "$NEW_IDS" | ssh "$@" " > umask 077 ; >- mkdir -p .ssh && cat >> .ssh/authorized_keys || exit 1 ; >- if type restorecon >/dev/null 2>&1 ; then restorecon -F .ssh .ssh/authorized_keys ; fi" \ >+ mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys || exit 1 ; >+ if type restorecon >/dev/null 2>&1 ; then restorecon -F ~/.ssh ~/.ssh/authorized_keys ; fi" \ > || exit 1 > ADDED=$(printf '%s\n' "$NEW_IDS" | wc -l) > ;;
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2349
: 2543