Securely automate otp codes: You can use otp codes with any shell command without need phone or app.
npm install -g otpilotFirst of all we need secret keys to generate otp codes.
- You can do this with google-author tool.
- Create a command
otpilot create $commandNameOutput
Command: echo $otp
Secret: ******- Run the command
otpilot run $commandNameOutput
142857Secret keys are safe with otpilot because config data encrypted with uniquenv
If you want to use 2fa VPN, you can connect with one command using gotunl
$ otpilot create connect-vpn
Command: gotunl -c 3 -otp $otp
Secret: ******
$ otpilot run connect-vpn
Connecting
Connected