Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 examining the Monastery: (5)
As of 2015-07-04 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls