Re: sftp-server problems

From: Richard E. Silverman (res_at_qoxp.net)
Date: 12/19/03

  • Next message: Simon Tatham: "Re: Verify putty programs"
    Date: 19 Dec 2003 01:41:40 -0500
    
    

    >>>>> "Marek" == Marek Zawadzki <mzawadzk@rose.man.poznan.pl> writes:

        Marek> On 2003-10-14, Harshawardhan Gadgil <hgadgil@cs.indiana.edu>
        Marek> wrote:
    >> Actually the problem was solved... it seem that if one of ur init
    >> files have an echo statement (produce output) then sftp /scp
    >> fails... Refer: http://www.openssh.org/faq.html#2.9

        Marek> I usually route around this problem by printing my stuff to
        Marek> stderr instead of stdout.

    ... which can also break things; the right way to fix it is to not print
    messages intended for humans when there's no human there to read it, but
    instead a program intending to speak some protocol. Usually this means
    only printing such messages when there's a tty on stdin.

    -- 
      Richard Silverman
      res@qoxp.net
    

  • Next message: Simon Tatham: "Re: Verify putty programs"

    Relevant Pages