mirror of
https://github.com/akelge/zsh
synced 2025-07-04 05:29:06 +00:00
s_client function
This commit is contained in:
7
zsh.d/zshfunctions/s_client
Normal file
7
zsh.d/zshfunctions/s_client
Normal file
@ -0,0 +1,7 @@
|
||||
server=$1
|
||||
host=$2
|
||||
if [ -z $host ]
|
||||
then
|
||||
host=$server
|
||||
fi
|
||||
openssl s_client -connect $server:443 -servername $host
|
Reference in New Issue
Block a user