Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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?

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027463]
[Corion]: marto: Oooh - cinema... I guess that's something I could do with my godson and sibling and sister as well, but I guess that getting a six year old and two four year olds into one movie is a tough sell ;)
[marto]: busy weekend, no me time :P
[Corion]: marto: Yeah, that's somewhat implied :) I was on the phone with my godson yesterday (they birthday), but I haven't seen them for two weeks now (vacation), relaxing, but I somewhat miss them too ;)
[Discipulus]: me waterpolo? oh no! i'm a no sport; the tournment was for the elder son
[karlgoethebier]: good morning
[Corion]: Discipulus: Ah, so he's the one getting almost drowned all the time - waterpolo certainly is no sport for me ;)
[karlgoethebier]: Corion: buy enough coke and popcorn...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-07-24 08:14 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (348 votes). Check out past polls.