![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help Required: Command to find IP address and command executed of a user | loggedout | Security | 2 | 08-06-2008 09:12 PM |
| Verifying if the shell command executed or not? | eamani_sun | Shell Programming and Scripting | 3 | 05-13-2008 04:18 AM |
| Any way to know wt command has been executed from last 2-3 days ? | manoja422002 | UNIX for Advanced & Expert Users | 3 | 03-26-2008 10:22 AM |
| problem executed shell command from PL/SQL | alodvg | Shell Programming and Scripting | 2 | 08-26-2006 03:58 AM |
| OpenSSH scp Command | mcateriny | AIX | 2 | 01-16-2004 11:42 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
OpenSSH command not executed
OpenSSH does not execute commands when they are issued from the command line.
I connect from a Win PC to a Win server (2003), using openssh. If I type the name of the bat file from the prompt, it starts. But when I add the command to the ssh command it does not work: ssh -vvv -i "keyname.key" admin@server "test2.bat" I've turned on debug mode: debug1: Sending command: test2.bat ... test2.bat: not found Though test2.bat is present, it cannot be found. I found out that giving "dir" as a command DOES work.... |
|
||||
|
It exists on the other side. The other side is a windows 2003 server, so it should know how to execute the file.
Also, when I do not add "test2.bat" to the commandline, but wait for the remote prompt to come up, and I then type "test2.bat", it will run! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|