Multiple sessions in Cloudron CLI
-
I would actually rather prefer active login sessions like you have with other such tools like
docker loginwhere you switch between them, but if the token is still valid you don't have to explicitly login. The--cloudronarg is quite some overhead to pass all the time. -
If you don't mind this work around:
sudo adduser cloudron1 ## or whatever name you want sudo adduser cloudron2 ## or whatever name you want sudo adduser cloudron3 ## or whatever name you want sudo -u cloudron1 /bin/bash cloudron login ## Setup session 1 time sudo -u cloudron1 /bin/bash cloudron <do stuff> sudo -u cloudron2 /bin/bash cloudron login ## Setup session 1 time sudo -u cloudron2 /bin/bash cloudron <do stuff> sudo -u cloudron3 /bin/bash cloudron login ## Setup session 1 time sudo -u cloudron3 /bin/bash cloudron <do stuff>This should keep the sessions separate, some extra typing involved but it might do the trick for you? That way you only login once.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login