diff options
author | 2013-03-07 00:20:34 +0000 | |
---|---|---|
committer | 2013-03-07 00:20:34 +0000 | |
commit | 7fb27298afdee79c5c51b061de4a79424eacf5cc (patch) | |
tree | 58495ca77c3f1279f823295e05507c043f869992 | |
parent | reconstruct the original username that was sent by the client, which may (diff) | |
download | wireguard-openbsd-7fb27298afdee79c5c51b061de4a79424eacf5cc.tar.xz wireguard-openbsd-7fb27298afdee79c5c51b061de4a79424eacf5cc.zip |
repeat test with a style appended to the username
-rw-r--r-- | regress/usr.bin/ssh/proxy-connect.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/regress/usr.bin/ssh/proxy-connect.sh b/regress/usr.bin/ssh/proxy-connect.sh index 6a36b2513b5..76e602dd6ae 100644 --- a/regress/usr.bin/ssh/proxy-connect.sh +++ b/regress/usr.bin/ssh/proxy-connect.sh @@ -1,8 +1,9 @@ -# $OpenBSD: proxy-connect.sh,v 1.5 2002/12/09 15:28:46 markus Exp $ +# $OpenBSD: proxy-connect.sh,v 1.6 2013/03/07 00:20:34 djm Exp $ # Placed in the Public Domain. tid="proxy connect" +verbose "plain username" for p in 1 2; do ${SSH} -$p -F $OBJ/ssh_proxy 999.999.999.999 true if [ $? -ne 0 ]; then @@ -16,3 +17,10 @@ for p in 1 2; do fail "bad SSH_CONNECTION" fi done + +verbose "username with style" +for p in 1 2; do + ${SSH} -$p -F $OBJ/ssh_proxy ${USER}:style@999.999.999.999 true || \ + fail "ssh proxyconnect protocol $p failed" +done + |