Details
-
Question
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.4.0
-
None
-
None
Description
Currently, it seems that the SftpSubsystem is being created by a factory that is created before a user logs in.
is there a way to setup the system so that each user that logs in has a different "home directory" when they log in?
Currently, it seems that by the time code path gets to the SftpSubsystemFactory, the username of the user coming in is lost and doesn't come through to the factory creating the SftpSubsystem.
Is there a way to pass the username in so that a different directory can be served up to the user when the "log on"? for example, is it possible to create a "virtual file system" that's keyed off the incoming user?
Mina FtpServer allows you to do that, and I was hoping to recreate the same setup with SFTP using SSHD project. Is there a way to implement that?
Attachments
Issue Links
- is duplicated by
-
SSHD-82 Integrate with MINA FtpServer file system view
- Resolved