Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Net::SFTP::Foreign giving me an issue?

by flieckster (Scribe)
on Feb 05, 2019 at 23:20 UTC ( #1229442=perlquestion: print w/replies, xml ) Need Help??

flieckster has asked for the wisdom of the Perl Monks concerning the following question:

i have been using Net::SFTP::Foreign for a few years, with no issue. but today the SFTP i transfer work to, started to throw some errors and i don't know if anyone here can tell me what they mean?
#1415 1549408701.00000 new: This is Net::SFTP::Foreign 1.90 #1415 1549408701.00000 new: Loaded from /Library/Perl/5.12/Net/SFTP/F +oreign.pm #1415 1549408701.00000 new: Running on Perl v5.12.4 for darwin #1415 1549408701.00000 new: debug set to -1 #1415 1549408701.00000 new: ~0 is 18446744073709551615 #1415 1549408701.00000 new: Using backend Net::SFTP::Foreign::Backend +::Unix 1.88_02 #1415 1549408701.00000 autodisconnect: setting disconnecting pid to 1 +415 and thread to 1 #1415 1549408701.00000 _init_transport: ssh cmd: ssh -p 22 -o NumberO +fPasswordPrompts=1 -o PreferredAuthentications=keyboard-interactive,p +assword -l cbkebay -o StrictHostKeyChecking=no ftp-cbk.aptos.io -s sf +tp #1415 1549408701.00000 _init_transport: starting password authenticat +ion #1415 1549408701.00000 _init_transport: waiting for data from the pty + to become available /Users/brianflieck/.ssh/config: line 1: Bad configuration option: eom- +cbk-sftp-nlb-prod-2a0d6b9118dd64bf.elb.us-east-1.amazonaws.com /Users/brianflieck/.ssh/config: terminating, 1 bad configuration optio +ns #1415 1549408701.00000 _init_transport: no data available from pty, d +elaying until next read #1415 1549408701.00000 _conn_lost: _conn_lost #1415 1549408701.00000 _set_status: _set_status code: 6, str: No conn +ection #1415 1549408701.00000 _set_error: _set_err code: 37, str: SSH slave +exited unexpectedly with error code 255 SSH slave exited unexpectedly with error code 255 at /private/var/fold +ers/_z/xrnf07mx29bc7d_btt6mjq340000gn/T/Cleanup At Startup/CB_upload_ +03242016-571101498.450.pl line 99 #1415 1549408701.00000 DESTROY: Net::SFTP::Foreign=HASH(0x7fbfb2c16d8 +0)->DESTROY called (current pid: 1415, disconnect_by_pid: 1415), curr +ent thread generation: 1, disconnect_by_thread: 1) #1415 1549408701.00000 disconnect: Net::SFTP::Foreign=HASH(0x7fbfb2c1 +6d80)->disconnect called (ssh pid: ) #1415 1549408701.00000 _conn_lost: _conn_lost

Replies are listed 'Best First'.
Re: Net::SFTP::Foreign giving me an issue?
by salva (Canon) on Feb 06, 2019 at 08:22 UTC
    /Users/brianflieck/.ssh/config: line 1: Bad configuration option: eom-cbk-sftp-nlb-prod-2a0d6b9118dd64bf.elb.us-east-1.amazonaws.com

    ssh doesn't like what you have in its configuration file!

      i see that but how do i get config for that amazonaws.com ?
        I think the issue is in the ssh configuration file in your local computer, at the path indicated in the error message
Re: Net::SFTP::Foreign giving me an issue?
by Aldebaran (Curate) on Feb 06, 2019 at 02:35 UTC

    I find that setting this option helps tremendously:

    my $sftp = Net::SFTP::Foreign->new( $domain, more => '-v',

    Hope this helps,

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1229442]
Approved by Paladin
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2022-06-29 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (96 votes). Check out past polls.

    Notices?