liaohuqiu / ssh-auto-login

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto input password for login in, and access a host by a customized alias command.

  1. You may have a acount can access lots of servers:

Use source install.sh to install to alias command, after installation, you can access a host by:

# use source to let the alias take effect
$ source install.sh username password
$ to 192.168.154.101
  1. You may access a server frequently:

Use source install_shortcut.sh to install alias command for a realated host, after installation, you can access it by alias command:

# use source to let the alias take effect
$ source install_shortcut.sh to-101 username@192.168.154.101
$ to-101

Attention:

Your account and password infomation will store in auto_gen directory. Keep that in mind and delete the whole directory after you finish you work.

About


Languages

Language:Shell 96.2%Language:Ruby 3.8%