Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Executing Linux command remotely from Windows client using SSH2

by salva (Abbot)
on Feb 19, 2013 at 08:43 UTC ( #1019480=note: print w/replies, xml ) Need Help??


in reply to Re^2: Executing Linux command remotely from Windows client using SSH2
in thread Executing Linux command remotely from Windows client using SSH2

So, what reply do you expect?

You can write your own solution from scratch on top of plink which will cost you lots of effort or you can use any of the available modules from CPAN. It is your choice.

Nobody is going to write the code for you.

  • Comment on Re^3: Executing Linux command remotely from Windows client using SSH2

Replies are listed 'Best First'.
Re^4: Executing Linux command remotely from Windows client using SSH2
by perldev (Initiate) on Feb 21, 2013 at 05:59 UTC
    The intention is not to get code snippet or someone else to write code form me. I am just seeking advise from Perl experts, so that I can do things in correct way. As I understand at this point using Net::SSH2 or Net::SSH::Any modules will be the choice.

    Thanks for providing your valuable comments!

Re^4: Executing Linux command remotely from Windows client using SSH2
by Anonymous Monk on Aug 13, 2013 at 10:50 UTC
    plink do not provide any way or options using that we can skip the host key verification check, so might have to write the expect part for that.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019480]
help
Chatterbox?
[Corion]: ... transfers in the background. Now that I think about it, this maybe even means that I can run the OpenGL filters on Youtube input :)
[ambrus]: Corion: I mentioned that the unix event loop of Prima always wakes up at least once every 0.2 seconds. Have you found out whether the win32 event loop of Prima does that too?
[Corion]: ambrus: Hmm - I would assume that the onDestroy message is sent from the destructor and doesn't go through the messageloop, but maybe it is sent when a window gets destroyed but all components are still alive...
[ambrus]: Corion: partly deep source dive, partly just conservative coding even if it adds an overhead.
[Corion]: ambrus: Hmm - no, I haven't looked at wakeup intervals ... I wonder why it should want to wakeup periodically because it gets a lot of messages from the Windows message loop (on Windows obviously)
[ambrus]: (Alternately a deep source dive and then rewrite that event loop to make it better, and then as a bonus you get an idle method.)
[ambrus]: The 0.2 seconds wakeup is likely a workaround for some bug, but I can't guess what bug that is.
[ambrus]: It's been there since Prima 1.00 iirc
[Corion]: Hmmm... Weird. Maybe it needs that for doing its timers or something. Still weird.
[Corion]: But I guess I'll find out soonish, as my application seems to use Prima for more than just displaying the OpenGL output soonish ;))

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2016-12-09 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (150 votes). Check out past polls.