mirror of
https://github.com/akelge/zsh
synced 2025-08-14 06:18:19 +00:00
changes 4
This commit is contained in:
@ -16,7 +16,7 @@ while getopts ":hr:" arg; do
|
|||||||
r)
|
r)
|
||||||
remote=1
|
remote=1
|
||||||
host=$OPTARG
|
host=$OPTARG
|
||||||
hostname=echo $host|cut -d: -f1
|
hostname=$(echo $host|cut -d: -f1)
|
||||||
;;
|
;;
|
||||||
h|*) help=1
|
h|*) help=1
|
||||||
;;
|
;;
|
||||||
|
Binary file not shown.
@ -1,6 +0,0 @@
|
|||||||
if [ ! -z "$1" ]; then
|
|
||||||
openssl s_client -connect $1 < /dev/null | \
|
|
||||||
openssl x509 -noout -text
|
|
||||||
else
|
|
||||||
echo "x509remote <host:port>"
|
|
||||||
fi
|
|
Binary file not shown.
Reference in New Issue
Block a user