#1
|
|||
|
|||
![]()
At work we use a linux jumpbox to access multiple hosts. To login to the jumpbox we need to use an RSA passcode but once we SSH to a host from there it's a static password to allow for faster connectivity.
I have a script which allows me to 1. Clone the jumpbox session, 2. Prompts for a host name 3. SSH to a host, 4. Rename the tab with the hostname It's working great and is a huge time saver. As my job demands accessing multiple hosts simultaneously I'm typically logged into multiple hosts in multiple tabs simultaneously and would like to have a separate log file per cloned session with the name of the variable %hostname% (shown in step 2 above). I've been able to change the log file name using "crt.Session.LogFileName = logfile" with the variable %hostname% as I've seen in other posts but this only seems to work the first time I run it. Anyone else have any experience with generating unique logfiles in cloned sessions? Thanks, ~ Jeff |
Tags |
cloned session , logfilename , tabs |
Thread Tools | |
Display Modes | Rate This Thread |
|
|