I'm looking for a way to manage SCP(SFTP) accounts that work under a virtual domain

SYSTEM INFORMATION
OS type and version: Ubuntu Linux 20.04
Webmin version: 1.981
Virtualmin version: 6.17-3
Related products version: RECOMMENDED

Hi, I’m looking for a way to manage SCP(SFTP) accounts that work under a virtual domain.
These accounts are to be allowed via key-auth login only.
Home directory of each account(uid) is to be separate.
Users can only access their own directories under the document root of the virtual domain.
Do I have to create such accounts manually?
Any help would be appreciated.
Thank you.

/home/example/

  • homes/
    • user1/
      • .ssh/
        • authorized_keys
  • domains/

(self reply)
I’ve found to create such an account.
Virtualmin → Edit Users → FTP Users → Add a user to this server
Home directory: Automatic
Login Permissions: Email, FTP and SSH

So that I could create a user account.
After that, I’ve set AliasMatch directive in apache config file.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.