Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to specify an initial sub directory #705

Closed
fredgate opened this issue Jan 31, 2022 · 2 comments
Closed

Allow to specify an initial sub directory #705

fredgate opened this issue Jan 31, 2022 · 2 comments

Comments

@fredgate
Copy link

When a user connects to sftp service, he arrives in its home directory which he cannot leave (which is fine).
An interesting feature would be to be able to configure a (sub)directory as the initial directory when its session starts.
Much like openssh allows with the following configuration :

ForceCommand internal-sftp -d initial_sub_directory

I couldn't find anything to do this. Maybe this would require adding an option (available with portable mode)?

@drakkan
Copy link
Owner

drakkan commented Feb 1, 2022

Hi,

this is planned. I added the required support in pkg/sftp some time ago. I have to find the time to implement and test the new interface in SFTPGo. I'm now busy working on several requests from project sponsors, this may take a while

@drakkan
Copy link
Owner

drakkan commented Mar 3, 2022

thanks to @puellanivis and @fclairamb for reviewing and approving my PRs for pkg/sftp and ftpserverlib so quickly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants