Skip to content

Script that connects to multiple SSH hosts in different session, splitting the window and initiating keyboard input to those sessions

License

Notifications You must be signed in to change notification settings

mred-cmd/iTerm2-Multi-SSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

iTerm2-Multi-SSH

iTerm has sophisticated Applescript support allowing one to write stand-alone scripts to launch the application and open multiple sessions. This script connects to multiple SSH hosts in different sessions, splits the window and initiates keyboard input to all sessions.

How to use it?

  • Download the script.
  • Edit it - chaging the host names to the hosts you want to connect to.
    • These hosts must be configured in your .ssh/config

The script itself needs to be stored under the ~/Library/Application Support/iTerm/Scripts directory. You can create this directory if it does not already exist. iTerm checks this directory on startup for scripts and these can be run from the scripts menu in iTerm. You will need to restart iTerm if it to put up the Scripts directory or new scripts added.

image

About

Script that connects to multiple SSH hosts in different session, splitting the window and initiating keyboard input to those sessions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published