Bugzilla – Attachment 1573 Details for
Bug 1530
ssh-copy-id: strip colon from end of hostname
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
strip colon from end of hostname
ssh-copy-id.colon.patch (text/plain), 778 bytes, created by
Colin Watson
on 2008-10-09 22:59:35 AEDT
(
hide
)
Description:
strip colon from end of hostname
Filename:
MIME Type:
Creator:
Colin Watson
Created:
2008-10-09 22:59:35 AEDT
Size:
778 bytes
patch
obsolete
>Index: contrib/ssh-copy-id >=================================================================== >RCS file: /cvs/openssh/contrib/ssh-copy-id,v >retrieving revision 1.6 >diff -p -u -r1.6 ssh-copy-id >--- contrib/ssh-copy-id 19 Jan 2008 18:52:07 -0000 1.6 >+++ contrib/ssh-copy-id 9 Oct 2008 11:57:55 -0000 >@@ -38,10 +38,10 @@ if [ "$#" -lt 1 ] || [ "$1" = "-h" ] || > 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: >+Now try logging into the machine, with "ssh '${1%:}'", and check in: > > .ssh/authorized_keys >
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 1530
: 1573 |
1909