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

Thanks for the code snippet. However this one is making use of Net::SSH2. As mentioned above, I will be executing scripts from Windows client and want to avoid deploying additional Perl modules.
  • Comment on Re^2: Executing Linux command remotely from Windows client using SSH2

Replies are listed 'Best First'.
Re^3: Executing Linux command remotely from Windows client using SSH2
by salva (Canon) on Feb 19, 2013 at 08:43 UTC
    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.

      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!

      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.