Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
May 16, 2006, 1:31 pm
rate this thread
I run OpenSSH on windows PC. I remotely connect it from Linux box using
ssh Admin@IP_ADDR # connects me fine now without problems
Next, I wrote a script that would log me in and also shut the windows
pc down, so I wrote a script
ssh Admin@IP_ADDR # connects me fine now without problems (LOCAL)
shutdown -s # This is a windows command (REMOTE)
Now, when I run this script, it successfully logs me into the windows
box but doesn't run the second part of the script which is to shut down
the windows PC.
Can you please tell me why ??
Every help is appreciated.
- » Open multiple PuTTY windows simultaneously on MS-Windows
- — Next thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum