Skip to content

connect to multiple servers through termial with just one simple command like `sv 2`

Notifications You must be signed in to change notification settings

TinyCalf/autossh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AUTOSSH

You can use autossh to connect to multiple servers through termial with just one simple command like sv 2

install

clone this repository in ideal path

git clone ...

install expect on linux

apt install expect

install autossh

cd path/to/autossh/
./install

add your remote servers' information in ssh.config like

1   user    11.11.11.11  password     22    myserverA
2   user2   22.12.12.11  password2    22    myserverB

use autossh to connect to server. If you want to connect to myserverA above, type:

sv 1

All done, just that simple!

About

connect to multiple servers through termial with just one simple command like `sv 2`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages