Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Connect to Remoteserver from perl

by Corion (Pope)
on May 12, 2011 at 09:10 UTC ( #904323=note: print w/replies, xml ) Need Help??

in reply to Connect to Remoteserver from perl

How would you do it without Perl?

If you would do it by using ssh, there are SSH modules for automating that.

If you would do it by using a web browser, there are WWW::Mechanize modules for automating that, and modules for implementing that.

If you would do it by mail, there are modules for implementing that, too.

You don't tell us how you want to launch the script, so we can't be more specific. If you don't know what method to choose, ask your system administrator about the best choice for your network policies.

Replies are listed 'Best First'.
Re^2: Connect to Remoteserver from perl
by senthilkumarperl (Novice) on May 12, 2011 at 09:31 UTC
    Thank your for reply.We got this IP( from x provider.Usually what we do that we run our perl script by logging into server manually.I want to connect to that server and need to run perl script by perl program.Is there any module?. could you explain ?
      Please, read again the previous reply and try to answer the questions. We cannot help you if we do not know how you usually log into the server, and we cannot know it if you do not tell us.
        i want to do it only in perl .how to connect remote server using mstsc. after conecting remote server using mstsc .there is coming like remote desktop connection .In that i type my ip( initiating I am supposed to type my user name and password for that IP .after doing those thing i can access my remote server .so i want to do those things by single perl program..I hope you understand this
        Hello Senthil, I understand your question. It is better to run a perl file in a cloud server by using .net when ur connecting it with perl, you need administrator rights to both the servers and also the local machines too. It also requires the port23 in the server and the local machine also. By using SSH module u can able to connect.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://904323]
NodeReaper wonders through a maze of twisty little sayings, all alike

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2018-03-18 17:58 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (230 votes). Check out past polls.