diff --git a/zsh.d/zshfunctions/s_client b/zsh.d/zshfunctions/s_client new file mode 100644 index 0000000..6f0455b --- /dev/null +++ b/zsh.d/zshfunctions/s_client @@ -0,0 +1,7 @@ +server=$1 +host=$2 +if [ -z $host ] +then + host=$server +fi +openssl s_client -connect $server:443 -servername $host