1 2 3 4 5 6 7
#!/bin/sh #fix this to suit your needs. /usr/local/bin/ncat --ssl "$1" "$2" #I heard this was a bad idea. #openssl s_client -q -connect "$1:$2"