summaryrefslogtreecommitdiff
path: root/regress/scp-ssh-wrapper.sh
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-02-10 00:27:24 +0000
committerColin Watson <cjwatson@debian.org>2014-02-10 02:40:28 +0000
commita2b8818c5d21cfcba443625251f691a2ea3a29c7 (patch)
tree8fe1fe448cde57eecf71a7bcd57186661b90313f /regress/scp-ssh-wrapper.sh
parentd399ecd8eb7d4aed3b7ba0d2727e619607fb901b (diff)
parentee8d8b97cc2c6081df3af453a228992b87309ec4 (diff)
Merge 6.5p1.
* New upstream release (http://www.openssh.com/txt/release-6.5, LP: #1275068): - ssh(1): Add support for client-side hostname canonicalisation using a set of DNS suffixes and rules in ssh_config(5). This allows unqualified names to be canonicalised to fully-qualified domain names to eliminate ambiguity when looking up keys in known_hosts or checking host certificate names (closes: #115286).
Diffstat (limited to 'regress/scp-ssh-wrapper.sh')
-rw-r--r--regress/scp-ssh-wrapper.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/scp-ssh-wrapper.sh b/regress/scp-ssh-wrapper.sh
index d1005a995..c63bc2bc1 100644
--- a/regress/scp-ssh-wrapper.sh
+++ b/regress/scp-ssh-wrapper.sh
@@ -17,7 +17,7 @@ printname () {
17} 17}
18 18
19# Discard all but last argument. We use arg later. 19# Discard all but last argument. We use arg later.
20while test "$1" != ""; do 20while test "x$1" != "x"; do
21 arg="$1" 21 arg="$1"
22 shift 22 shift
23done 23done
@@ -52,6 +52,8 @@ badserver_4)
52 echo "X" 52 echo "X"
53 ;; 53 ;;
54*) 54*)
55 exec $arg 55 set -- $arg
56 shift
57 exec $SCP "$@"
56 ;; 58 ;;
57esac 59esac