chundongwang / superputty

Automatically exported from code.google.com/p/superputty
MIT License
0 stars 0 forks source link

Create list of pre-defined commands I can run via the "Commands" drop down menu of history #446

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have to make 3 ssh hops to connect to my servers. The two intermediate ssh 
servers are locked down (no ssh port forwarding), I have to use TACACS and 
cannot use certificates (disabled). I can automate the login to the first ssh 
server.
I have to manually connect to the second, then on the third hop (destinations) 
I have many hosts I connect to.
Is it possible to write to the history file/location, to give it a set of 
pre-defined entries? (such as a list of 20 ssh commands to different hosts)
Then I can use the drop down box to select my pre-defined connection and inject 
that command into the running ssh sessions.
I'm happy to do this via scripting / whatever method.
Thanks for any / all help!!!  This is a great tool.

Original issue reported on code.google.com by br...@gardnerx.name on 23 Jul 2014 at 7:39