diff options
Diffstat (limited to 'debian/patches/ssh-copy-id-trailing-colons.patch')
-rw-r--r-- | debian/patches/ssh-copy-id-trailing-colons.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/patches/ssh-copy-id-trailing-colons.patch b/debian/patches/ssh-copy-id-trailing-colons.patch deleted file mode 100644 index 1063fc6bb..000000000 --- a/debian/patches/ssh-copy-id-trailing-colons.patch +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | Description: ssh-copy-id: Strip trailing colons from hostname | ||
2 | Author: Karl Goetz <karl@kgoetz.id.au> | ||
3 | Author: Colin Watson <cjwatson@debian.org> | ||
4 | Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1530 | ||
5 | Bug-Debian: http://bugs.debian.org/226172 | ||
6 | Bug-Ubuntu: https://bugs.launchpad.net/bugs/249706 | ||
7 | Last-Update: 2010-02-27 | ||
8 | |||
9 | Index: b/contrib/ssh-copy-id | ||
10 | =================================================================== | ||
11 | --- a/contrib/ssh-copy-id | ||
12 | +++ b/contrib/ssh-copy-id | ||
13 | @@ -38,10 +38,10 @@ | ||
14 | exit 1 | ||
15 | fi | ||
16 | |||
17 | -{ eval "$GET_ID" ; } | ssh $1 "umask 077; test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys" || exit 1 | ||
18 | +{ eval "$GET_ID" ; } | ssh ${1%:} "umask 077; test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys" || exit 1 | ||
19 | |||
20 | cat <<EOF | ||
21 | -Now try logging into the machine, with "ssh '$1'", and check in: | ||
22 | +Now try logging into the machine, with "ssh '${1%:}'", and check in: | ||
23 | |||
24 | .ssh/authorized_keys | ||
25 | |||