Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

How to Communicate with linux from windows

by Rahul Gupta (Sexton)
on May 04, 2013 at 14:55 UTC ( #1032047=perlquestion: print w/ replies, xml ) Need Help??
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

Comment on How to Communicate with linux from windows
Download Code
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 karlgoethebier (Curate) on May 05, 2013 at 16:45 UTC
Re: How to Communicate with linux from windows
by salva (Monsignor) on May 05, 2013 at 18:08 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1032047]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-07-11 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (220 votes), past polls