1 2 3 4 5 6 7 8 9
host=${1-0} port=${2-443} args="" if [ $# -gt 2 ] then shift; shift args="$@" fi exec sslclient -RHl0 $args -- "$host" "$port" sh -c 'exec cat <&6'