I'm trying to set up an SFTP server with multiple users that each have their own home directory.
I read this answer which explained how to set a virtual directory for a single user but I'm not sure how to have multiple users each with their own home directory.
Can someone please tell me how to go about this?
Updated version of above (as of 1.4.0 of sshd-core). Note that I did not specify a file for the host key provider since mine was for a Junit integration test.
I finally got it working. Here is a working example:
pom.xml
Test.java