initial
[zsh.git] / .zsh / functions / telnets
1 # -*- mode:sh -*-
2
3 host=${1:-""}
4 port=${2:-"443"}
5
6 if [[ $host = "" ]]; then
7 echo "Missing host argument"
8 return
9 fi
10
11 openssl s_client -host ${host} -port ${port}