An open API service indexing awesome lists of open source software.

https://github.com/runejuhl/tsh-login

Prompt-less Teleport login using expect and pass
https://github.com/runejuhl/tsh-login

authentication expect login teleport

Last synced: 4 months ago
JSON representation

Prompt-less Teleport login using expect and pass

Awesome Lists containing this project

README

          

#+title: tsh-login
#+author: Rune Juhl Jacobsen

Prompt-less login to Teleport using ~expect~ and ~pass~.
* Usage
Put in your ~PATH~, e.g. by symlinking the script to ~/usr/local/bin~.

Configure the path to the Teleport password by writing it into
~\~/.config/tsh-login/password_path~, e.g.

#+begin_src conf
job/www/teleport.example.org
#+end_src

Running ~tsh-login~ will now read your password and OTP using ~pass~, passing
the values to ~tsh login~ to authenticate with Teleport.