how to ssh in perl script

Posted by Salman on Stack Overflow See other posts from Stack Overflow or by Salman
Published on 2010-05-17T11:48:50Z Indexed on 2010/05/17 11:50 UTC
Read the original article Hit count: 257

Filed under:
|

Hi I want to SSH to a server and execute a simple command like "id" and get the output of it and store it to a file on my primary server. I do not privileges to install Net::SSH which would make my task very easy. please provide me a solution for this. I tried using backticks but I am not able to store the output on the machine from which my script runs.

© Stack Overflow or respective owner

Related posts about ssh

Related posts about perl