remove vestigial Net::OpenSSH code
Matt S Trout [Sat, 2 Jun 2012 12:37:41 +0000 (12:37 +0000)]
lib/Object/Remote/Connector/SSH.pm

index 0821c96..3d89564 100644 (file)
@@ -11,11 +11,6 @@ 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);
-}
-
 push @Object::Remote::Connection::Guess, sub { 
   for ($_[0]) {
     # 0-9 a-z _ - first char, those or . subsequent - hostnamish