debug ssh
parent
51d21ed6c0
commit
759da957e2
|
@ -170,7 +170,7 @@ sub del {
|
|||
my $user = $self->user;
|
||||
my $cmd = "rm $file";
|
||||
|
||||
sshopen2("$user\@$host", *READER, *WRITER, "$cmd") || die "ssh: $!";
|
||||
Net::SSH::sshopen2("$user\@$host", *READER, *WRITER, "$cmd") || die "ssh: $!";
|
||||
|
||||
close(READER);
|
||||
close(WRITER);
|
||||
|
|
Reference in New Issue