If server user's shell is /bin/false or similar, sftp file transfers that use streaming protocol fail.
asked Dec 20 '10 at 20:45
SSH KB ♦
If server user does not have a real shell, and file transfer is attempted using streaming protocol, the transfer may fail. On Unix and Windows clients, streaming is not used by default, but on Mainframe clients the default is to try streaming.
sftp> sget --streaming=force file.txt file2.txt Error: Operation failed sftp>
Streaming can be disabled from the sftp> prompt:
(where command is
Note that it is also possible to set the environment variable SSH_SFTP_STREAMING_MODE to set the streaming mode for sftpg3 and scpg3 so that it is not necessary to define it on command line (see the sftpg3/scpg3 man page). Setting the variable to value "no" (without the quotes) disables streaming.
answered Dec 20 '10 at 20:47
Joe - Tectia Support ♦♦