On Wed, 18 Oct 2006, Lennart Börjeson wrote:
I guess you don't get a proper environment for kermit, viz. current working directory etc.
I should try
1) launching kermit from a .bat or .cmd file 2) Invoke the command file in ssh via cmd /c
e.g. ssh -luser 192.168.0.200 'cmd /c c:/kermit/backoffice/mykermit.cmd'
In mykermit.cmd you can then ensure CWD, PATH etc are all correct before launching kermit itself.
Thanks, I had not tried the /c, sadly it gives me the same below. I tried variations like c:/windows/system32/cmd ... There has to be a way to execute this. Thanks,
When I try to run ssh -luser 192.168.0.200 c:/kermit/backoffice/kermit
user@192.168.5.200's password: IBM-PC MS-DOS Kermit: 3.16 4 May 1999 Copyright (C) Trustees of Columbia University 1982, 1999.
Type ? or HELP for help
MS-Kermit>^A^A^A ?Text exceeded available buffer capacity MS-Kermit>
And I am back at the prompt on the remote box and it has not run the mskermit.ini file.
There has to be a way to automate via ssh and run the kermit on the MS Windows machines and then scp the files. The only step I have been uable to get working is to run kermit remotely and get the files to the MS machine. Any ideas. I know I have done this in the past but I can not seem to remember how and all my googleing has not brought up a solutions. Any ideas?
Thanks,
-- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
-- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047