I have a remote linux machine to which I am connecting via remote SSH in my VS Code. I use "Remote - SSH" VS code extension for the same. I could browse remote directory in my VS Code and do all necessary actions. However, when I try to do Authorize an Org it opens the browser, asks for credentials, but during redirection it fails as I can see the redirect_uri is localhost:1717.
I need a help in understanding if there is a way to authorize an org in VS code while using remote SSH.