markus@openbsd.org | dad2b18 | 2015-03-03 22:35:19 +0000 | [diff] [blame^] | 1 | # $OpenBSD: connect.sh,v 1.5 2015/03/03 22:35:19 markus Exp $ |
Damien Miller | 38cd435 | 2002-05-01 13:17:33 +1000 | [diff] [blame] | 2 | # Placed in the Public Domain. |
| 3 | |
| 4 | tid="simple connect" |
| 5 | |
| 6 | start_sshd |
| 7 | |
markus@openbsd.org | dad2b18 | 2015-03-03 22:35:19 +0000 | [diff] [blame^] | 8 | for p in ${SSH_PROTOCOLS}; do |
Damien Miller | 38cd435 | 2002-05-01 13:17:33 +1000 | [diff] [blame] | 9 | ${SSH} -o "Protocol=$p" -F $OBJ/ssh_config somehost true |
| 10 | if [ $? -ne 0 ]; then |
| 11 | fail "ssh connect with protocol $p failed" |
| 12 | fi |
| 13 | done |