repo.or.cz
/
openssh-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
- (dtucker) [openbsd-compat/port-linux.c] Check is_selinux_enabled for exact
[openssh-git.git]
/
regress
/
connect.sh
blob
2186fa6e7eb9107e7185d86941639de740d414f9
1
# $OpenBSD: connect.sh,v 1.4 2002/03/15 13:08:56 markus Exp $
2
# Placed in the Public Domain.
3
4
tid
=
"simple connect"
5
6
start_sshd
7
8
for
p
in
1 2
;
do
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