1
0
mirror of https://github.com/akelge/zsh synced 2025-08-15 06:28:24 +00:00
Files
zsh/zsh.d/zshfunctions/s_client
Andrea Mistrali b9c96f038a s_client function
2017-04-21 09:22:20 +02:00

8 lines
115 B
Plaintext

server=$1
host=$2
if [ -z $host ]
then
host=$server
fi
openssl s_client -connect $server:443 -servername $host