Hi
Getting the following error when i attempt to SSH to a linux vm via the azure bastion service configured within RDM.
"(10057L) A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied."
I can connect to the VM via the azure bastion service directly in the Azure portal, but not via RDM.
I can also SSH to the vm via RDM with a public ip address on it.
Any assistance would be appreciated.
Hello
I'm sorry to hear that's not working quite right. As a first step (based on a hunch), can you try to check the settings of (one of) the SSH sessions in RDM? Under the "Advanced" tab, what do you have configured for "Internet Protocol"? If it's not already, can you try setting it to "IPv4".
Please, let me know if something isn't clear or you have further questions.
Kind regards,
Richard Markievicz
Screenshot 2024-04-23 at 11.32.44.png
Perfect thanks that worked.
Anyway to make that default for all SSH sessions?
Hello
Ok, I'm glad that worked!
The difficulty is that we connect to a TCP tunnel on localhost, which might not be resolvable if IPv6 is enabled. I believe it's actually a deficiency in our SSH implementation, and I think that's a known issue.
I'm afraid it's not possible to override the "Default" value right now, but I'll file that as an enhancement request.
In the meantime you have a couple of options:

Please, let me know if something isn't clear or you have further questions.
Kind regards,
Richard Markievicz
Screenshot 2024-04-24 at 09.58.40.png