Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Unable to connect to some SFTP servers using Perl::SFTP

by hdb (Prior)
on Apr 08, 2013 at 10:43 UTC ( #1027463=note: print w/ replies, xml ) Need Help??


in reply to Unable to connect to some SFTP servers using Perl::SFTP

What springs to attention is your use of $InboundParameters[1] and $InboundParameters[2]. The former is used in the information printed while the latter contains host information. Any chance they are inconsistent when you call your sub?


Comment on Re: Unable to connect to some SFTP servers using Perl::SFTP
Select or Download Code
Re^2: Unable to connect to some SFTP servers using Perl::SFTP
by skylinedreamer (Novice) on Apr 09, 2013 at 02:05 UTC
    The $InboundParameters[1] is the name of the host and $InboundParameters[2] is the address of the host.

    I am only able to connect with one of the host in my list using the script.

    But when I use the terminal to connect all of them are able to connect. It's only whne I use the perl library, its not able to connect.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027463]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-09-17 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (66 votes), past polls