fly ssh console -r flag not working

Hello,

When I run fly ssh console -r lhr it seems to connect me to a random region, the flag does not seem to work.

fly ssh console -s and selecting lhr does work.

Hello!

I have the same issue.

I run fly ssh console -r scl

I have these envs:

/ # env | grep "REGION"
FLY_REGION=gru
PRIMARY_REGION=iad

I just looked through the flyctl code and I don’t think the region flag is actually being used. We’ll look into that. At one point it was to pick which region to create the WireGuard peer in rather than the VM to connect to. For that you can use the --select flag.

1 Like

Yeah!
With --select flag works

/ # env | grep "REGION"
FLY_REGION=scl
PRIMARY_REGION=iad

Thanks! :smiley:

1 Like