Can I automate new SSH connections to z/OS?

I’m running on Linux, and using remote z/OS systems. Being from a performance background I hate having to waste seconds, manually starting SSH sessions to my backend systems.

I found I can automate this!

From my gnome-terminal I can issue the command

gnome-terminal --tab --working-directory=~ --title=COLINS --profile=blue  -- ssh colin@10.1.1.2 

This

  • created a new terminal session as a tab in the existing terminal window
  • did a cd ~
  • called the tab COLINS
  • selected the profile called blue (go to the hamburger of your current terminal and select profile to see what profiles you have)
  • executes the command after the ‐‐, so executes ssl colin@10.1.1.1

You can issue the command

gnome-terminal --help-all

to get a list of all options.

Leave a comment