The ports 1739-1741 are opened on my phone and provide ssh. Is this from graphene os?

    jak2k

    What's the prompt say? Can you post Nmap scan results?

    jak2k You've installed an app and granted it the Network permission which is doing it. You can determine which from adb shell. It's not specifically GrapheneOS related.