Configure a different SSH port in order to connect to the board

Hi! I’m using VSCode and the Toradex extension. Due to my current setup I can access the board trough SSH but on a port different to 22. Is there a way to let the VSCode extension that it need to access my board using a different port?

Edit 1: the Toradex extension seems to ignore ~/.ssh/config, while the remote-ssh extension does not.

I have found out that the ssh connection is being done by moses GitHub - toradex/moses: This repo contains all the different components related to IDE integration for Torizon.

If I’m reading the code correctly there is no way for it to pass a different port other than 22.

Greetings @lisandropm,

Unfortunately you are correct. We do not currently have a way to tell the extension to use a port other than the default port 22 for SSH processes. We plan to add a way to change this in the future but no timeline on this yet.

Best Regards,
Jeremias

Unfortunately you are correct. We do not currently have a way to tell the extension to use a port other than the default port 22 for SSH processes. We plan to add a way to change this in the future but no timeline on this yet.

This might probably need to encapsulate everything over the SSH connection, as it seems not enough to forward the port in order to get things done.

But definitely a nice feature to have.

Definitely agree with you on that. Thank you for the feedback.