Skip to content

liaohuqiu/ssh-auto-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published