I am trying to create an SFTP server which can serve files to different VM's depending on which user the files were SFTP too.
We have previously used bitvise to create "Virtual Accounts" and limiting the root directory to the location we want that users files to go to. This involved installing bitvise on every server we own.
We are trying to move away from this to a dedicated SFTP VM which can then serve its files to the relevant machine. See the image below:
As an example. Someone SFTP's a document to User Credentials "User 1" these documents would be accesible/transferred to VM 1 and if someone SFTP's a document to User Credentials "User 2" these documents would be accesible/transferred to VM 2
I have tried using azure's "File Share" to create a network drive however this seems to cause permissions errors when accessing the folder via SFTP