Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-88

Is there a way to configure SftpSubsystem to have a directory relative to the user that's logging on?

    XMLWordPrintableJSON

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

          Activity

            People

              gnodet Guillaume Nodet
              toli Toli Kuznets
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: