http://qs321.pair.com?node_id=1032047

Rahul Gupta has asked for the wisdom of the Perl Monks concerning the following question:

Hi All,

I want to run some command on Linux machine from Windows. and trying to install Net-SSH-Expect module . but unable to install on windows machine.

Please anyone help me how to install on windows and which perl module should i use to communicate to linux from windows.

Thanks in advance

Replies are listed 'Best First'.
Re: How to Communicate with linux from windows
by Anneq (Vicar) on May 04, 2013 at 16:42 UTC

    Try googling WinSCP. It supports SFTP as well as allowing you to run a command from windows to another SSH host.

    Bitvise also has a windows SSH host as well as a client.

    If you want support for how to install modules on windows, you need to let us know which version of perl you are using, what have you tried and what errors you encountered.

    Anne

      Hi,

      I am using perl 5.14.2. and trying to install Net-SSH-Expect-1.09 module on windows machine.

      What i am trying to do is, i want to write a script which connects to linux machine from windows and where i can send any command like (ls, who , ps, or any command).

      problem: when i am installing Net-SSH-Expect-1.09 module on windows. i am getting some warnings.

      So please help me what should i do to resolve this problem.

      thanks in advance
        when i am installing Net-SSH-Expect-1.09 module on windows

        How are you trying to install it?

        What Perl distribution are you using?

        i am getting some warnings.

        What warnings?

        Rahul,

        When asked what version of perl you are using, besides the version number, it would be helpful to know the flavour, like Cygwin, Strawberry, ActiveState, etc. Do any of these sound familiar to you? Its important to know this because then the other people who are using what you are using can help you better.

        It would also be helpful to know what you have tried. For example, did you type one of the following:

         $ cpan

        or

         $ ppm

        to install modules? Or, perhaps, did you use a GUI?

        You stated that you are getting some warnings. We would like to help you but can't unless you tell us what warnings you encountered.

        Anne

Re: How to Communicate with linux from windows
by salva (Canon) on May 05, 2013 at 18:08 UTC
Re: How to Communicate with linux from windows
by karlgoethebier (Abbot) on May 05, 2013 at 16:45 UTC