Multiple sessions in Cloudron CLI
Solved
App Wishlist
-
I would actually rather prefer active login sessions like you have with other such tools like
docker login
where you switch between them, but if the token is still valid you don't have to explicitly login. The--cloudron
arg 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.