prompter

command module
v0.0.0-...-9766d23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

🐕 prompter

prompter is a tool to automatically fill OTP tokens into SSH connections, while storing the secret data in the macOS Keychain.

Installation

go install github.com/unkaktus/prompter

Usage

Add new item to the macOS Keychain with the "Where" set to "prompter", "Account" set to the SSH hostname, and with the following content"

{"password":"password_string","totp_url":"otpauth://totp/..."}

where password is your password and totp_url is your TOTP URL (can be obtained by reading the QR code data).

Once set, login to the node embracing your hostname in curly braces:

prompter ssh {lunar}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址