#! /bin/sh echo -n '.' > 2 if telnet 192.168.254.10 22 | grep -q SSH; then echo 'connection to ssh server on dls failed' exit 1 fi