successfully wrapping sudo
[scpubgit/Object-Remote.git] / lib / Object / Remote / Connector / SSH.pm
index 0821c96..a90270f 100644 (file)
@@ -11,10 +11,7 @@ around _perl_command => sub {
   return 'ssh', $target, $self->$orig($target);
 };
 
-sub _ssh_object_for {
-  my ($self, $on) = @_;
-  $self->ssh_masters->{$on} ||= Net::OpenSSH->new($on);
-}
+no warnings 'once';
 
 push @Object::Remote::Connection::Guess, sub { 
   for ($_[0]) {