cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 7

Solar-PuTTY 1.0.1.1087 shutting down session when script runs.

Hello All,

I was using MTPuTTY which has a separate tab for scripts, I heard about Solar-PuTTY and as we use Solarwinds in my job and the reviews were good I thought I'd test it out. So far so good and I really like it, but I came across a problem...

When I created a new session that needed a script, I created the script as a .txt file and mapped to it using the browse button, it runs the script but then immediately SHUTS DOWN the connection.

How can I stop it shutting down the session?

The point of the script is to type commands that change directories etc, so allow me to get to where I can do certain tasks, but if Solar-PuTTY keeps shutting down the session it's unusable and I will have to stick with MTPuTTY, which is a shame as I really liked it so far.

I called the Solarwinds support line but I was told they don't support free tools, so I hope to get the answer here.

Can anyone please help?

Thanks and kind regards,

Andrew.














0 Kudos
1 Reply
Level 9

Hi Andrew,

the disconnection is depending on the device you are connecting to. For instance, if you connect to a Cisco device, there is no disconnection. For a Linux machine you can use for example 'read' command to stay in the session after the script has been executed:

/bin/bash;

read;

pastedImage_0.png

Richard

0 Kudos