summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh/connect.sh
blob: eb4decf28df994b93ad31b1ddf52a7c8823729ae (plain)
1
2
3
4
5
6
7
8
9
10
tid="simple connect"

start_sshd

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