Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^4: Connect to Remoteserver from perl

by senthilkumarperl (Novice)
on May 12, 2011 at 10:19 UTC ( #904342=note: print w/replies, xml ) Need Help??

in reply to Re^3: Connect to Remoteserver from perl
in thread Connect to Remoteserver from perl

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
  • Comment on Re^4: Connect to Remoteserver from perl

Replies are listed 'Best First'.
Re^5: Connect to Remoteserver from perl
by marto (Archbishop) on May 12, 2011 at 10:40 UTC

    Look at using Win32::GuiTest to automate your terminal services client connection. I don't think you'll have much luck actually controlling the machine once you have established connection. What are you trying to do on the remote system, perhaps there is a more efficient way of achieving your goal. See also How do I post a question effectively?.

      In that server there is my Perl file .i want to run Perl file by Perl script by logging into that server .Is this module(Win32::GuiTest) help me to solve my problem

        I doubt it, as I said you probably won't have much luck in driving a remote server via Win32::GuiTest. Connect via SSH, as Corion has already advised, along with some other methods of execution.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://904342]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2018-06-21 15:13 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (118 votes). Check out past polls.