migas has asked for the wisdom of the Perl Monks concerning the following question:
$network_debug_level_real = 1; my $network_server = "localhost"; my $network_server_port = 22; my $network_username = "some_valid_user"; my $network_password = "some_valid_password"; my $network_connection_p; my %ssh_config = ( port => $network_server_port, debug => $network_debug_level_real, ); my %sftp_config = ( user => $network_username, password => $network_password, debug => $network_debug_level_real, ssh_args => \%ssh_config, ); print "before connection\n"; $network_connection = Net::SFTP->new($network_server, %sftp_config ); print "after connection\n";\n"; # This never run's the program shell's + out
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::SFTP connection failure
by zentara (Cardinal) on Sep 20, 2006 at 14:27 UTC | |
by migas (Novice) on Sep 20, 2006 at 14:38 UTC | |
|
Re: Net::SFTP connection failure
by Khen1950fx (Canon) on Sep 20, 2006 at 15:59 UTC | |
by migas (Novice) on Sep 20, 2006 at 16:20 UTC | |
by salva (Canon) on Sep 21, 2006 at 08:20 UTC | |
by migas (Novice) on Sep 21, 2006 at 08:42 UTC | |
by salva (Canon) on Sep 21, 2006 at 10:50 UTC | |
|
Re: Net::SFTP connection failure
by Khen1950fx (Canon) on Sep 20, 2006 at 17:04 UTC | |
by migas (Novice) on Sep 21, 2006 at 08:48 UTC |