Xshell 5 allows users to send characters or strings to multiple open sessions simultaneously using several different methods. Each method has its own advantages and users can choose the method that best fits their requirements.
Compose Bar Method
Sending strings via the Compose Bar is the easiest method to send to multiple sessions. Users can choose to target the current sessions, the current session group., all sessions within the current window, or all Xshell sessions universally.
However, the Compose Bar only supports visible characters.
Quick Command Buttons Method
Unlike, the Compose Bar method, the Quick Commands Buttons method allows users to send non-visible characters. Use the following steps to utilize this method:
- Turn on the Quick Commands bar in the View menu.
- Double click on the Quick Commands bar to add a new command.
- Enter the desired button name in the label field
- Select “Send the following text.” Enter the desired command to be sent. If you want to send a non-visible character, you can type the ASCII code number using the corresponding octal number. For example \033 for ESC.
Quick Commands can inherently only be sent to the current session, but by sending the Quick Command to the Compose Bar, you can circumvent this and send to multiple sessions. You can also enable the Send Key Input To All Sessions status from the Tools menu to send Quick Commands to all sessions.