Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PerplexedTheta/ssh-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssh-menu

Just a quick and dirty login wrapper for an SSH gateway server

Software preview

Features

  • Written entirely in Curses::UI / Perl
  • Fast, secure, and light-weight
  • Mouse support
  • Fuzzyfinder search supported (requires fzf)
  • Works in any terminal down to 80x25 (or smaller with help file disabled)
  • Fully configurable – see lines 10-20 for available options

Installation instructions

  1. Run sudo apt install libcurses-ui-perl fzf to get the necessary dependencies.
  2. Create a login user, and add your SSH pubkey to their authorized_keys. Make sure you can login.
  3. Copy/clone the contents of bin/ to /usr/local/bin/.
  4. Edit /etc/passwd and set the login shell of the login user to /usr/local/bin/ssh-user-shell.sh
  5. Before logging out, open a new ssh session and test the new user. The new user should be able to access a help screen by pressing [h].
  6. Done!

About

Just a quick and dirty login wrapper for an SSH gateway server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published