On Fri, 9 Mar 2001, gary wrote:

> Thanks Mikkel,
>
> I agreed, with your advise.
> but sorry, may be my question was not clear, in fact what I want is to
> automate the process of sending a command from windows env to linux box to
> exec a job...
> Let say, I choose telnet, how can I can exec a command in linux box by just
> exec a command in windows env?
>
> thanks,
> gary
>
Gary,
        I do not know how to do is using telnet.  It can be done with a
a rsh client under windows, but that is a security risk.  And the only
rsh client I have used under Windows was part of an X server package.

        The easyest way to do this is if you have sshd running on the
Linux box.  Openssh works well for this.  Then you can use PYtty on the
windows machine.  It is a free ssh client for windows.  What you do it
to set up a configuration that makes the ssh connection, and runs a
command.  You save this configuration under a name - lets use test for
now.  You then create a shortcut on your desktop with the command line
"putty test".  This will fire up PUtty using the "test" configuration.
        You will have to generate a key pair to make this work.  The
setup is the same as using ssh under Linux with key pairs.  If you need
help doing this, let me know.  Without knowing just what you are trying
to do, it is hard to be more specific...

Mikkel
 --

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to