tomaswolf commented on issue #800: URL: https://github.com/apache/mina-sshd/issues/800#issuecomment-3187565436
Not sure I understand. `sshfs` should use normal SFTP, so you'd just have an SFTP server with your in-memory filesystem, and you'd just configure your SFTP subsystem with an appropriate `FileSystemFactory` that returns your in-memory file system. A simple way to do so is ``` SshServer server = ...; server.setFileSystemFactory(new MyFileSystemFactory()); ``` where you'd implement `MyFileSystemFactory` to return an instance if your in-memory filesystem. That would set the file system for the whole server and thus also affect shells. Or you could use `StfpSubsystem.setFileSystem()` to set it only for SFTP. It's unclear to me why you'd need a custom `SftpFileSystemAccessor`. (Looks like the documentation could use some improvements; it should first explain how to connect a file system for SFTP before going into details of this accessor.) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org