Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question.
Do you know a way to get the server info related to a Sandbox by script?
I would like to connect to the right server for a given sandbox.
Unfortunately the si sandboxinfo CLI command requires to use the rigth hostname.
I've found a solution using