> On Sun, 26 Aug 2001 17:39:04 +0000 (UTC), Lee Harr
>> On Sun, 26 Aug 2001 17:22:18 +0000 (UTC), Lee Harr
>>> I am trying to set up and use sftp.
>>> I uncommented the line in /etc/ssh/sshd_config:
>>> Subsystem sftp /usr/libexec/sftp-server
>> Ok, I got this working by installing the sftp port on both client
>> and server, but I am still confused about the sftp-server configuration
>> in sshd_config. It seems that it would be unneccessary the way that I
>> have it set up.
> It is if you only want to transfer files in one direction.
Well, I want to be able to transfer in both directions, but I only
want to be able to connect from the client end to the server.
>> In fact, I just commented out that line again, and it works fine.
> Yes, but did you try and connect going the opposite direction?
>> So. Is that part of sshd just not ready for prime time, and the right
>> way to do this is use the sftp port on both ends? Or is there more
>> to this story?
> Everything is the way it should be.
> What happens is this.. You install sftp on the system you want to give
> others access to. You uncomment the line in sshd_config so that sshd
> knows to give others access to the sftp server when they request it.
> You install sftp on the other machine so that you can get the client side
> of the setup. You leave line in sshd_config commented because you don't
> want others to be able to download your files. You still need the sftp
> port, though so that you can get the client part.
> Make better sense now?
Not really, no. I guess I should have been more clear.
I commented out the sshd_config sftp-server line on the ftp server.
In other words, it is commented out on _both_ machines. And the
server still allows connections.
The line in the server's sshd_config metions the program
so I figured when the sftp client tried to connect, that would be
the program that was started, but I believe that the sftp port comes
with its own sftp server called sftpserv, and that is the one being
started through an ssh tunnel.
So, I am still curious what sftp-server is for, and how it is used.