[Cyberduck-trac] [Cyberduck] #7322: Unable to list files from apache mina server
Cyberduck
trac at trac.cyberduck.ch
Tue Jun 25 14:47:31 UTC 2013
#7322: Unable to list files from apache mina server
----------------------------+---------------------
Reporter: gael.lalire | Owner: dkocher
Type: defect | Status: new
Priority: normal | Milestone:
Component: sftp | Version: 4.3.1
Severity: normal | Keywords:
Architecture: | Platform:
----------------------------+---------------------
A sample code with file list support :
{{{
import java.util.ArrayList;
import java.util.List;
import org.apache.sshd.SshServer;
import org.apache.sshd.common.NamedFactory;
import org.apache.sshd.server.Command;
import org.apache.sshd.server.UserAuth;
import org.apache.sshd.server.auth.UserAuthNone;
import org.apache.sshd.server.command.ScpCommandFactory;
import org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider;
import org.apache.sshd.server.sftp.SftpSubsystem;
public class SFTP {
public static void main(final String[] args) throws Exception {
SshServer sshd = SshServer.setUpDefaultServer();
sshd.setPort(1111);
sshd.setKeyPairProvider(new
SimpleGeneratorHostKeyProvider("hostkey.ser"));
List<NamedFactory<UserAuth>> userAuthFactories = new
ArrayList<NamedFactory<UserAuth>>();
userAuthFactories.add(new UserAuthNone.Factory());
sshd.setUserAuthFactories(userAuthFactories);
sshd.setCommandFactory(new ScpCommandFactory());
List<NamedFactory<Command>> namedFactoryList = new
ArrayList<NamedFactory<Command>>();
namedFactoryList.add(new SftpSubsystem.Factory());
sshd.setSubsystemFactories(namedFactoryList);
sshd.start();
}
}
}}}
FileZilla & Nautilus can list files but not Cyberduck.
I get an authentification fail message on Cyberduck whereas server log say
authentification is successful.
--
Ticket URL: <http://trac.cyberduck.ch/ticket/7322>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.
More information about the Cyberduck-trac
mailing list