Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How to Communicate with linux from windows

by Anneq (Vicar)
on May 04, 2013 at 16:42 UTC ( [id://1032060]=note: print w/replies, xml ) Need Help??


in reply to How to Communicate with linux from windows

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

Replies are listed 'Best First'.
Re^2: How to Communicate with linux from windows
by Rahul Gupta (Sexton) on May 05, 2013 at 06:21 UTC
    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

        Hi Anne,

        I am using ActiveState perl

        I have tried following commands.

        ppm install Net-SSH-Expect-1.09

        getting error

        Downloading ActiveState Package Repository packlist...done Updating ActiveState Package Repository database...done ppm install failed: Can't find any package that provides Net-SSH-Expec +t-1.09

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1032060]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-28 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found