Skip to content

Instantly share code, notes, and snippets.

View TriMoon's full-sized avatar
:atom:
Working nonstop

©TriMoon™ TriMoon

:atom:
Working nonstop
View GitHub Profile
@TriMoon
TriMoon / otp.sh
Last active March 4, 2018 14:28 — forked from breiter/otp
Script to drive oathtool to create TOTP one-time passwords for amazon, github, google, evernote, msft, etc.
#!/bin/sh
scriptname=`basename $0`
if [ -z $1 ]; then
echo "Generate OATH TOTP Password"
echo ""
echo "Usage:"
echo " $scriptname google"
echo ""
echo "Configuration: $HOME/.otpkeys"