Skip to content
/ pyKmux Public

A small and simple python script to automatically renew a kerberos ticket in a tmux session

License

Notifications You must be signed in to change notification settings

Karol-G/pyKmux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

pyKmux

License

A small and simple python script to automatically renew a kerberos ticket in a tmux session

Installation

  • Install pexpect with: pip install pexpect
  • Clone the pyKmux repo
  • Execute kinit in your terminal and copy the entire password prompt (including the colon) into password_prompt in pykmux.py
  • Type in your password in password in pykmux.py

How to use

  • Create or attach to a tmux session: tmux new or tmux a -t X
  • Open a new tmux pane: Ctrl+B "
  • Activate the new pane: Ctrl+B DOWN
  • Execute pykmux.py every 5 hours: watch -n 18000 "python pykmux.py"
  • (Optional) Hide the pane

About

A small and simple python script to automatically renew a kerberos ticket in a tmux session

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages