sftpgo portable #320
-
Hi, I am using the latest docker image but I could not configure sftp users from container CLI via sftpgo portable. I am running the below command: Given user does not appear on web GUI and I am not able to do sftp operation via this user. Am I missing something here? Is there any way to add new sftp users via CLI? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, the portable mode allows to share a single directory on demand, it creates a temporary user and the user will not be stored. You can use this user until the portable command is running. If you want to load initial data please take a look at the If instead you really want to create users from CLI you can use the REST API. Some generators allow to create bash clients that use |
Beta Was this translation helpful? Give feedback.
Hi,
the portable mode allows to share a single directory on demand, it creates a temporary user and the user will not be stored. You can use this user until the portable command is running.
If you want to load initial data please take a look at the
--loaddata-from
serve argument here. You can create a dump from the web ui (maintenance section).If instead you really want to create users from CLI you can use the REST API. Some generators allow to create bash clients that use
curl
under the hood.