securecrt sends the same command to multiple tab windows at the same time

 As the management of N servers, but you want to execute the same command and don't want to execute it with a script, you can only use a tool to execute it. You can use SecureCRT's Chat Windows option Send chat to all tabs to execute the same command on the server at the same time, and record the method. , I hope to provide it to friends in need.

1. First, open multiple server sessions in SecureCRT at the same time
. 2. Select the menu bar View --> Chat Windows to check the sign. At this time, there should be a blank part under all server connections.
3. Right-click the mouse in the blank part (Chat Windows). , select Send Chat to All Tabs, so that there will be a sign of "<Send chat to all tabs>"
in Chat Windows 4. Enter a command in Chat Windows such as ll and press Enter, then all currently open server sessions will execute the ls command
5 . , If you want to execute multiple commands such as who and last at the same time, in Chat Windows, first enter who, then press Ctrl+Enter, then enter last, and finally press Enter, then all currently open sessions will execute the who and last commands
. 6. Cancel this function , then right-click the mouse in Chat Windows, do not select Send Chat to All Tabs

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326144484&siteId=291194637