How to configure the buffer size used by sftp when it's called by nautilus (GNOME/File)

I can pass to sftp a “-B buffer_size” parameter when I call it from the command line.

But how do I pass that parameter to sftp when I use Gnome’s File to connect to a host via sftp?

I go into File’s Network tab, and at the bottom of the page I enter sftp:// ….

When I do that, does File use a command line that’s taken from a file somewhere? How can I modify that command to add the -B parameter?

I am using ~/.ssh/config with these lines:

Host *

ServerAliveInterval 1

ServerAliveCountMax 3

But I cannot control the buffer size in that ~/.ssh/config file. I know the file is being looked at, since I can put erroneous info into the file and sftp rejects it when I call sftp on the command line.

Hi, the mount will be created via gvfs, but I have not looked into whether the buffer is configurable at all, I don’t think it is.