Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- plink problem
September 25, 2010, 11:10 am
rate this thread
I want automate execution of a script on a remote computer. I wrote a
batch file to run plink in the flowing fashion:
plink server.com -l username -pw password ./some_server_script.sh -
I hoped that it will execute the script and exit without prompting for
anything, but it actually prompts for my user name and password. What
is wrong here? The documentation says that -l specifies the user name
and -pw the password.
I have tried the following as well:
putty server.com -l username -pw password
And it connected me without questions, but using putty will not help
me to automate things.
Any ideas how can I solve this?
- » protocol question - issue with exit-status inside unfinished data stream?
- — Newest thread in » Secure Shell Forum