autologin your server when you use jumpers
- you need to install shyml: shyaml
- download automate.sh and session.yaml
- edit session.yaml,filling your jumper info and server info
- run: ./automate.sh myserver
- 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