[GH-ISSUE #2863] Users and users management commands #27508

Open
opened 2026-04-22 04:54:05 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @trymeouteh on GitHub (Mar 1, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2863

If one wants to host one or more model on a beefy computer and give access to a selected few but not the entire world, I would like to suggest some sort of user feature.

Host

The host device will have to install Ollama, install the models and port forward. The host device can create users, delete users, list the users, etc. The uses could simply be API Keys and each API key will have a name attached to them to know the user for this API key. Or the users could be a username and password. New commands in host such as user create, user rename, user delete will need to be added.

Remote

To access Ollama remotely, you need to use an API key or login with a username and password. Ollama CLI will allow you to add and remove models from remote devices. New commands such as remote add model, remote remove model, list remote models, remote login, remote logout, remove list logins will need to be added

To also allow each user to have a ranking in permissions. There will be the admin user which will have all permissions. Then moderators which will have most permissions and then users that have the least permissions and can only use the service but cannot modify the service.

This feature will also allow for more usecases of Ollama to be used on mobile devices. By having the models run on a remote device with the hardware specs to run the models, the mobile devices does not need o have the models installed on the device and with mobile device hardware being less powerful than desktop hardware, a user can setup a ollama host and use ollama on their phone over the internet.

I would like to also suggest good encryption with the connection between the remote device and host device.

Originally created by @trymeouteh on GitHub (Mar 1, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2863 If one wants to host one or more model on a beefy computer and give access to a selected few but not the entire world, I would like to suggest some sort of user feature. **Host** The host device will have to install Ollama, install the models and port forward. The host device can create users, delete users, list the users, etc. The uses could simply be API Keys and each API key will have a name attached to them to know the user for this API key. Or the users could be a username and password. New commands in host such as `user create`, `user rename`, `user delete` will need to be added. **Remote** To access Ollama remotely, you need to use an API key or login with a username and password. Ollama CLI will allow you to add and remove models from remote devices. New commands such as `remote add model`, `remote remove model`, `list remote models`, `remote login`, `remote logout`, `remove list logins` will need to be added To also allow each user to have a ranking in permissions. There will be the admin user which will have all permissions. Then moderators which will have most permissions and then users that have the least permissions and can only use the service but cannot modify the service. This feature will also allow for more usecases of Ollama to be used on mobile devices. By having the models run on a remote device with the hardware specs to run the models, the mobile devices does not need o have the models installed on the device and with mobile device hardware being less powerful than desktop hardware, a user can setup a ollama host and use ollama on their phone over the internet. I would like to also suggest good encryption with the connection between the remote device and host device.
GiteaMirror added the feature request label 2026-04-22 04:54:05 -05:00
Author
Owner

@trymeouteh commented on GitHub (Mar 8, 2024):

Disable Chat History/Logging Option will also be good to have for when using Ollama server with others
https://github.com/ollama/ollama/issues/3002

<!-- gh-comment-id:1985737747 --> @trymeouteh commented on GitHub (Mar 8, 2024): Disable Chat History/Logging Option will also be good to have for when using Ollama server with others https://github.com/ollama/ollama/issues/3002
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#27508