Thread Disconnect of Net::SFTP (6 answers)
Opened by prassito at 2005-05-31 11:42

prassito
 2005-05-31 14:33
#29493 #29493
User since
2005-05-31
8 Artikel
BenutzerIn
[default_avatar]
Hi Folks

Yes i am sure, that i use this port.
It is defined in:

Net/SSH/Perl.pm

But while looking for this, i found the solution for my task (i know not the best one).
In Line 223 and 224 in the sub _create_socket() you i found this:

my ($p,$end,$delta) = (0,1,1); # normally we use whatever port we can get
($p,$end,$delta) = (1023,512,-1) if $ssh->{config}->get('privileged') ;

I removed the line 224 and now my Script uses different ports to connect.
Anyway thanks for the help.
Gratz

prassito\n\n

<!--EDIT|prassito|1117535705-->

View full thread Disconnect of Net::SFTP