Is sftp-server's stdout redirected to client ?

Damien Miller djm at mindrot.org
Tue Jan 7 21:12:04 EST 2003


Avraham Fraenkel - Commatch wrote:
> Hello,
>   Another suggestion - redirect the command output to stderr, this will go
>   to the sftp-client stderr and (in openssh client) will showed on the
> screen.
>   (The syntax depend on the shell on the server).
>   In the sftp protocol there is no way to send data to the client in any
> other way.

That wouldn't be standard sftp (draft-secsh-filexfer) anymore then. You 
really need to use one of the protocol extension mechanisms to define a 
new request and corresponding answers.

-d





More information about the openssh-unix-dev mailing list