- or download this
[bmallik@null-001485a93da4 ~]$ perl -w RDF.pl
...
Couldn't establish SSH connection: unable to establish master SSH conn
+ection: control command failed: child exited with code 1 at RDF.pl li
+ne 14.
[bmallik@null-001485a93da4 ~]$
- or download this
#!/usr/bin/perl
use Net::OpenSSH;
...
#print $ssh->cmd("who");
my @output = $ssh->capture("who");
print @output;
- or download this
my $ssh= Net::OpenSSH->new($host,user=>$user, passwd=>$password, stric
+t_mode => 0, ctl_dir => "/tmp/~.libnet-openssh-perl" );
- or download this
[bmallik@null-001485a93da4 ~]$ perl -w RDF.pl
Couldn't establish SSH connection: unable to establish master SSH conn
+ection: the authenticity of the target host can't be established, the
+ remote host public key is probably not present on the '~/.ssh/known_
+hosts' file at RDF.pl line 14.