OpenSSH - SFTP issue

Arun Manthalkar
Fri, 18 Jun 2010 15:54:08 -0000

Hello,



   We are having issue with SFTP for Windows server. The OpenSSH reports
   the "Exit Staus -1" upon exiting the sftp session ( Though the file
is
   successfully getting transferred!!). I have opened ticket with VanDyke
   Software - vShell and reported this issue. Accordiong to VanDyke
   Software, there is no issue with vShell configuration / its debug logs.

   Would you please let us know, what is this "Exit Status -1"?. Note
that
   when transfering to Unix servers, it gives "Exit Status 0".



   Sample Log:
   debug3: channel 0: status: The following connections are open:
     #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1)

   debug3: channel 0: close_fds r -1 w -1 e 7
   debug1: fd 0 clearing O_NONBLOCK
   debug2: fd 1 is not O_NONBLOCK
   debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 2.5 seconds
   debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
   debug1: Exit status -1

   Please let me know if you need any more detials.

   Thanks & Regards
   -------------------------
   Arun Manthalkar
   GTO-Deutsche Asset management
   # 1, Beacon Street, 11th Floor
   Boston, MA - 02108
   Desk Phone       : +1-617-295-6084
   Email:   [1]arun.manthalkar at db.com
   ***********************************************************************
   **********
   This mail is transmitted to you on behalf of HCL Technologies.
   Diese Post wird Ihnen im Namen der HCL Technologies ubermittelt
   ***********************************************************************
   ***************

   --
   Informationen (einschlie?lich Pflichtangaben) zu einzelnen, innerhalb
   der EU t?tigen Gesellschaften und Zweigniederlassungen des Konzerns
   Deutsche Bank finden Sie unter
   http://www.deutsche-bank.de/de/content/pflichtangaben.htm. Diese E-Mail
   enth?lt vertrauliche und/ oder rechtlich gesch?tzte Informationen. Wenn
   Sie nicht der richtige Adressat sind oder diese E-Mail irrt?mlich
   erhalten haben, informieren Sie bitte sofort den Absender und
   vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die
   unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
   Please refer to http://www.db.com/en/content/eu_disclosures.htm for
   information (including mandatory corporate particulars) on selected
   Deutsche Bank branches and group companies registered or incorporated
   in the European Union. This e-mail may contain confidential and/or
   privileged information. If you are not the intended recipient (or have
   received this e-mail in error) please notify the sender immediately and
   delete this e-mail. Any unauthorized copying, disclosure or
   distribution of the material in this e-mail is strictly forbidden.

References

   1. mailto:arun.manthalkar at db.com