From: Matt S Trout Date: Sat, 2 Jun 2012 12:37:41 +0000 (+0000) Subject: remove vestigial Net::OpenSSH code X-Git-Tag: v0.001001~37 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a62879d1444eb136d8fb6530c51f74d2af45d83c;p=scpubgit%2FObject-Remote.git remove vestigial Net::OpenSSH code --- diff --git a/lib/Object/Remote/Connector/SSH.pm b/lib/Object/Remote/Connector/SSH.pm index 0821c96..3d89564 100644 --- a/lib/Object/Remote/Connector/SSH.pm +++ b/lib/Object/Remote/Connector/SSH.pm @@ -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