debug ssh
This commit is contained in:
parent
51d21ed6c0
commit
759da957e2
@ -170,7 +170,7 @@ sub del {
|
|||||||
my $user = $self->user;
|
my $user = $self->user;
|
||||||
my $cmd = "rm $file";
|
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(READER);
|
||||||
close(WRITER);
|
close(WRITER);
|
||||||
|
Reference in New Issue
Block a user