NAME

Net::SSH::Control - SSH Magic

SYNOPSIS

use Net::SSH::Control;
my $ssh = Net::SSH::Control->new($host, $user, $port);
my $res = $ssh->start_ssh();
if(!$ssh->started()) {
  die($res->stderr() . "Failed to make the ssh connection, ssh's return code was: " . $res->status());
}