Wednesday, July 18, 2007

Perl ssh `` tip

my $result = `ssh $IP 'ls -ls /root;exit'`;
print "result = $result";

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home