diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2002-02-14 23:18:01 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2002-02-14 23:18:01 +0000 |
commit | 05f7489de58e24cbc2469b7978cbc51138f80120 (patch) | |
tree | cbae7c2f6e42d90b3fb9372d71fc0d413d362227 /regress/usr.bin/ssh/connect.sh | |
parent | 5fc1733621065fd7a8e06dd422d539406f3a4b9d (diff) |
serveral tests for ssh-keygen/ssh/sshd/ssh-add/ssh-agent
note that these tests will start sshd on 127.0.0.1:4242
and will fail if the realpath of /usr/src/usr.sbin/ssh/obj/ contains
a group or world writeable directory.
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 |