never mind. I managed to enable the ftp subsystem by modifying the
SSHServer.java and rebuilding it.
I added the below line:
----
sshd.setSubsystemFactories(Arrays.<NamedFactory<Command>>asList(new
SftpSubsystem.Factory()));
-----
Let me know if thats not the right way.
I find that the ftp file transfer speed using FileZilla client is steady
at 1.0MB/s. Is there any way to speed up the transfer? Both the server
and client are on the same machine and so I was hoping to get better
transfer speed.
Is there anything on SSHD server side that can improve its file transfer
speed?
Thanks,
Nilesh.
On 7/22/2011 2:16 PM, Nilesh Apte wrote:
Hi:
I am new to Apache SSHD and wanted to try it out. I downloaded the
binary distribution and ran the SSHD server using the batch file.
When I try to connect using "sftp" client I get following error:
"Request for subsystem 'sftp' failed on channel 0'
Am I missing something?
Is there any example/sample code that I can run with SFTP subsystem
enabled?
Thanks,
Nilesh.