View Single Post
Old 01-20-2020, 08:53 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,633
Hi dicen,
But, I would like 2 days of my life back.
With all the automation you can do in SecureCRT, you should get that back by Tax Day I am guessing.

In case you are not familiar with these features, we posted our top 5 in this post.

Here's a few more:

Tab Groups
Available as of v8.0 in SecureCRT/Windows, v8.1 in SecureCRT/Mac. If you have a couple (or more) tabs open, and want to see multiple connections side-by-side or top-to-bottom stacked so they're visible at the same time, just drag one of the tabs down into the terminal window area and hover near the right/left/bottom border, depending on where you want to place the new tab group. You should see a drop zone appear as your drag cursor nears the edge of the terminal window border -- at which point you can release the mouse button to "drop" the tab there, creating a new tab group. You'll see the window split into two, with the new tab on the side near the edge it was dropped. With tab groups making more than one connection visible at a time, you can shift-click a button on the button bar or use the command window in Send To All mode, and see your actions in real time (rather than having to click on each tab individually to see what happened there).

Logging variables
Do you want all your sessions to log the commands run and resulting output? Would you like to use a naming convention for all that provides uniformity, yet can be unique to each connection? Would you like to have timestamps on *every line* of that output?

In the Terminal / Log File category of Session Options, you can use substitution variables that will be expanded to the detail they represent. For example %S will be resolved to be SessionName in a log filename. Or %M%D%Y will result in MMDDYYYY format. The separators used in *naming* log files have to conform to those allowed by the OS where SecureCRT is installed. For example, you cannot use %M/%D/%Y in SecureCRT/Windows because Windows does not allow \/:*?"<>| to be used in filenames.

If you wanted timestamps on each line, because this is being written *to* the file and not used as the filename, you can use those separators. In the On each line configuration, for example, use %h:%m:%s:%t -- to have each line of output preceded by, for example:
13:04:09:968 -- line of output here

Default Session and multiple change mechanisms
Now that you have logging options you like, how about applying it to all sessions very easily? How about applying a change to only some of all your sessions?

Since you would be making a change that affects many sessions, the recommendation is to export your config as a backup as a best practice (v7.3.x and later). That can be done from the Tools menu (Export Settings), you would just specify an XML file where the info should be exported.

You change all sessions by using the Default Session mechanism in the General / Default Session category of Global Options. (Or choose Edit Default Session... from the Options menu.)

Once you choose Edit Default Settings..., a Session Options - Default dialog is displayed with many of the same categories you see when you access Session Options from your specific sessions (the protocol category will depend on the protocol presently saved in the Default session).

You can then access the specific category (in this case Terminal / Log File) and make the changes necessary to use the logging variables that suit you. When you "OK" the Session Options - Default dialog you will be prompted as to whether you want to change *only* Default session (meaning these changes will be reflected when you access Default Session at a future time and it's also used when you create/save new sessions) or *all sessions*.
Here's a link to our YouTube channel where you can find even more videos about features in SecureCRT that you might find helpful.

In fact, here's a link to the SecureCRT Training Series video playlist.


VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote