Skip to content

Easy ssh into servers of running ssh sessions from a different terminal tab/window.

Notifications You must be signed in to change notification settings

harishkb27/ssh-sessions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ssh-sessions

ssh-sessions is a simple script that lists running ssh sessions in your system and presents you with an option menu to ssh into any of the servers from the list of existing sessions. It can be seen as a simple time saver during times when multiple ssh connections to the same server are required.

usage

Just run the script like any other linux executable. Also, you can add this script (path) to your system PATH.

example

$ ssh-sessions 
1) ssh ubuntu@server1
2) ssh -i ~/.ssh/test.pem ubuntu@server2
Select the menu number to ssh:1
ubuntu@server1:~$
ubuntu@server1:~$ exit
logout
Connection to server1 closed.

License

MIT

Free Software, Hell Yeah!

About

Easy ssh into servers of running ssh sessions from a different terminal tab/window.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages