I
Ironhide
Hi,
I want to execute some commands on a remote machine through ssh and
get back their results; would ideally like get back the
1. exit status of the command executed remotely
2. stdout
3. stderr
All this I would like to do inside a perl script and get all of the
above 3 in 3 separate variables.
Can this be done?
p.s.: I have already tried the Net::SSH module; would be helpful if
you guys could suggest me other ways of doing this.
I want to execute some commands on a remote machine through ssh and
get back their results; would ideally like get back the
1. exit status of the command executed remotely
2. stdout
3. stderr
All this I would like to do inside a perl script and get all of the
above 3 in 3 separate variables.
Can this be done?
p.s.: I have already tried the Net::SSH module; would be helpful if
you guys could suggest me other ways of doing this.