diff options
Diffstat (limited to 'regress/usr.bin/ssh/connect.sh')
-rw-r--r-- | regress/usr.bin/ssh/connect.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/regress/usr.bin/ssh/connect.sh b/regress/usr.bin/ssh/connect.sh new file mode 100644 index 00000000000..b95ecdaa215 --- /dev/null +++ b/regress/usr.bin/ssh/connect.sh @@ -0,0 +1,8 @@ +tid="simple connect" + +for p in 1 2; do + ssh -o "Protocol=$p" -F $OBJ/ssh_config somehost true + if [ $? -ne 0 ]; then + fail "ssh connect with protocol $p failed" + fi +done |