Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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(xx.xxx.xx.xx).after 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 (Bishop) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (15)
As of 2015-07-07 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls