I want to be able to automatically run PuTTY, connect to a server, and then run a number of commands. For example, in my local development environment I use PuTTY to run a Rails server so the process usually entails me opening PuTTY, loading a saved session which uses SSH authentication key. I then open the session ,enter the password and then run the following commands:
cd /vagrant
RAILS_ENV='development' bundle exec rails s
I have seen suggestions for using .bat files; however, I was hoping for an approach, which means that I also do not have a command prompt window open for every session opened.
