Hi,

I'm trying to see if i can use the SSHD project to create an "SFTP"
server that will allow users to log in, and serve up a different
directory for each user.

The FtpServer project allows you to create a virtual FS for each user,
and i'm hoping to be able to do the same for SFTP connections with
SSHD project.

Is there a way to implement that?

Currently, it seems that the SftpSubsystem is being created by a
factory that is created before a user logs in.
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"?

thanks

ps: thanks for the great project.

Reply via email to