login about faq

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%20KB's gravatar image


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

Streaming can be disabled from the sftp> prompt:

[command] --streaming=no

(where command is put, get, append, etc.)

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%20-%20Tectia%20Support's gravatar image

Joe - Tectia Support ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Dec 20 '10 at 20:45

Seen: 3,547 times

Last updated: Dec 20 '10 at 20:47

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.