Subject: | Interactive login support ... Net::SSH::Perl->new call in code ? |
I can't get interactive login to work
shouldn't the reference passed thru to SSH::Perl be a hash?
check out the new below
...current code ....
.
sub init {
my $sftp = shift;
my %param = @_;
$sftp->{debug} = delete $param{debug};
$param{ssh_args} ||= [];
$sftp->{_msg_id} = 0;
my $ssh = Net::SSH::Perl->new($sftp->{host}, protocol => 2,
debug => $sftp->{debug}, @{ $param{ssh_args} });
...