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
- Host: GitHub
- URL: https://github.com/runejuhl/tsh-login
- Owner: runejuhl
- Created: 2022-01-09T13:18:49.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-24T11:49:07.000Z (over 4 years ago)
- Last Synced: 2025-12-09T06:11:33.994Z (7 months ago)
- Topics: authentication, expect, login, teleport
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.org
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.