Skip to content

wadeling/sshautomate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sshautomate

autologin your server when you use jumpers

Usage

  1. you need to install shyml: shyaml
  2. download automate.sh and session.yaml
  3. edit session.yaml,filling your jumper info and server info
  4. run: ./automate.sh myserver

Support MFA

  • support google MFA
  • you need to clone the repo: google-authenticator and modify the secret.json file which contain your MFA factor and user name
  • when you have content in sessdion.yaml
my_jump:
  sshlogin: "ssh -p 2222 root@myjumpserverip"
  automate:
    - {expect: OTP, send: ""}

automate.sh will calculate the OTP code and send to the jump server

About

autologin your server when you use jumpers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages