|
Answer» Hi All, I am a new member to this forum. I am trying to invoke a SSH session from a batch script from windows to login to a linux machine.
I have created a file with .bat extension. I have given my batch file below.
@echo off echo connecting ssh [emailprotected] pause
and it is GIVING the error as follows
'ssh' is not recognized as an internal or EXTERNAL command, operable program or batch file.
please help me.... Thanks in Advance.
Anil that means your ssh exe is not in your PATH. Thank u very much......
Now i am able to open ssh session from my batch file... and my CODE looks like this
@echo off echo connecting "C:\\DOCUMENTS and Settings\\Desktop\\Software\\"putty.exe -ssh 10.50.25.88 pause
thanks a lot once again.......
Anil.
|