Results 1 to 2 of 2
Hi all:
I have a problem to do something new for me. I'm trying to write a script in a linux machine for conect to a windows machine, via openssh ...
- 04-10-2008 #1
OpenSSH, Linux y windows
Hi all:
I have a problem to do something new for me. I'm trying to write a script in a linux machine for conect to a windows machine, via openssh (3.6.1p1), and run some programs that fills a file, gets the file (to the linux machine) and repeats the process how as possible.
I have problem with ssh in windows, because when I run:
ssh user@server "dir"
as example, the response is dir: not found. I don't know how I can fix this error, or maybe if this is not possible between linux and windows.
Thank.-
- 04-10-2008 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
The dir command is not native in Unix, and if you are running ssh on Windows I would guess you are using Cygwin or something similar. Try using the ls command.


Reply With Quote