Revered Monks,

I am trying to use the module Net::SFTP and i am getting the following error.

Error using Net::SFTP, Reading configuration data d://.ssh/config Reading configuration data /etc/ssh_config Connecting to stage.com, port 22. Remote version string: SSH-1.99-OpenSSH_3.9p1 Remote protocol version 1.99, remote software version OpenSSH_3.9p1 Net::SSH::Perl Version 1.30, protocol version 1.5. No compat match: OpenSSH_3.9p1. Can't set socket non-blocking: Bad file descriptor at D:/apps/site/lib +/Net/SSH/P erl.pm line 216.

Also when i try to use the Net::SFTP::Foreign i am getting the following error

sftp: Sending SSH2_FXP_INIT reading from ssh pipe failed () at test1.pl line 14

If any body throws light on this issue will be appreciated


Update:- This error i am getting when used in windows and perl version 5.8.8

-Prasanna.K

In reply to Error using Net::SFTP by kprasanna_79

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.