Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Marcus Mender
November 21, 2007, 12:58 pm
rate this thread
in the terminal window. Fine.
However I want to automate the execution of my command sequence.
What I am searching for is a way to enter all commands into a script text file
the pass this script file for remote execution to Putty.
How can I do this ? I would appreciate a solution similar to:
D:\ssh\putty.exe -load "myProfile" -script "D:\test\myremotecommands.txt"
but it does not work.
Re: How to pass a command script to remote computer over Putty SSH and execute it ?
You need to get plink from the putty's download page.
Then, you can use it like this
plink.exe -ssh -pw pass -noagent -m commands.txt email@example.com
- » Where can I download pre-compiled binaries of OpenSSH for WinXP?
- — Next thread in » Secure Shell Forum
- » protocol question - issue with exit-status inside unfinished data stream?
- — Newest thread in » Secure Shell Forum