I want to run several shell commands every time I SSH to the server through PuTTY. I am connecting to a web server controlled by someone else and I do not want to store my own scripts there.
I see the Connection> SSH> Remote command option , but if I put my initialization commands here, after the session starts, it closes right after the commands are executed. How can I run a remote command and then keep the session open to continue using it?
source
share