Bugzilla – Attachment 1556 Details for
Bug 1500
enhance ssh-copy-id to work when login dir on server is not /home/user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patchfile which fixes the assumption that after ssh'ing into a machine, the cwd is ~/
ssh-copy-id.patch (text/plain), 459 bytes, created by
timothy
on 2008-08-06 03:04:52 AEST
(
hide
)
Description:
patchfile which fixes the assumption that after ssh'ing into a machine, the cwd is ~/
Filename:
MIME Type:
Creator:
timothy
Created:
2008-08-06 03:04:52 AEST
Size:
459 bytes
patch
obsolete
>--- ssh-copy-id.orig 2008-06-30 14:00:33.000000000 -0600 >+++ /usr/bin/ssh-copy-id 2008-08-05 10:45:28.000000000 -0600 >@@ -38,7 +38,7 @@ > exit 1 > fi > >-{ eval "$GET_ID" ; } | ssh $1 "umask 077; test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys" || exit 1 >+{ eval "$GET_ID" ; } | ssh $1 "umask 077; test -d ~/.ssh || mkdir ~/.ssh ; cat >> ~/.ssh/authorized_keys" || exit 1 > > cat <<EOF > Now try logging into the machine, with "ssh '$1'", and check in:
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 1500
: 1556