One-click access to jumpserver requiring Google Authenticator
- port
- host
- user
- passwor
- secret
Linux CentOS:yum install expect
Linux Ubuntu:apt install expect
Mac:brew install expect
chmod 777 ssh-jump.sh
write to bashrc.sh or zshrc.sh
alias ssh-jump="/filepath/ssh-jump.sh"
terminal:
ssh-jump