Skip to content

Instantly share code, notes, and snippets.

@414n
414n / env.sh
Last active March 15, 2022 10:10 — forked from iiska/Autostart.sh
Using KWallet and ksshaskpass with ssh-agent (KDE 5)
#!/bin/sh
# Put this in .config/plasma-workspace/env/ssh-agent.sh
eval $(ssh-agent)
@414n
414n / check_ssl_cert.sh
Created December 27, 2016 08:31
Simple script to check SSL expiry date on a host:port pair using openssl tools
#!/bin/sh
usage () {
cat << EOF
Usage:
$(basename $0) host:port
to check for SSL certificate expiry date on the selected host and port
combination.
EOF
}