1
0
mirror of https://github.com/akelge/zsh synced 2025-07-03 05:05:28 +00:00

changes 4

This commit is contained in:
2021-11-23 17:58:15 +01:00
parent ddcda3ad7c
commit e7a5d9c7e9
4 changed files with 1 additions and 7 deletions

View File

@ -16,7 +16,7 @@ while getopts ":hr:" arg; do
r)
remote=1
host=$OPTARG
hostname=echo $host|cut -d: -f1
hostname=$(echo $host|cut -d: -f1)
;;
h|*) help=1
;;

Binary file not shown.

View File

@ -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.