RDM x Moba

avatar

Hello,

For my ssh connection i use moba but launched from RDM, and i noticed that if password contains special characters, the ssh session failed to connect.

From what i understand RDM launch moba with a cmd command like this:

mobaxterm.exe -newtab "sshpass -p {PASSWORD} ssh {USERNAME}@{IP}"


And i got same error with this command when i launch it from my own cmd. I managed to make it work with this command

mobaxterm.exe -newtab "sshpass -p '{PASSWORD}' ssh {USERNAME}@{IP}"


Is it possible to do the same with RDM ?

Thanks

All Comments (4)

avatar

Hello,

Thank you for reaching out regarding this matter.

I tested several passwords containing different special characters. In my testing, I was able to connect successfully using MobaXterm, or the password contained characters that are not supported when using the following command:

mobaxterm.exe -newtab "sshpass -p '{PASSWORD}' ssh {USERNAME}@{IP}"


Could you please let me know which special character(s) were used in the password when you encountered the issue? This will allow me to reproduce the behavior, record the findings, and report the issue internally to our development team.

I look forward to your reply.

Best regards,

Jacob Lafrenière

avatar

Hello,

i got an error with a password that contains only this * and another with thoses one* ^ ^ & @

For both password, i make it work when using

mobaxterm.exe -newtab "sshpass -p '{PASSWORD}' ssh {USERNAME}@{IP}"


i got another error with a password finishing with a double $
This one is very interesting; if i launch the command above from powershell terminal, it failed to connect. But if i launch just

sshpass -p '{PASSWORD}' ssh {USERNAME}@{IP}


directly inside the moba terminal, it successfully connecting.

Thanks

avatar

Hello,

Thank you for the follow-up.

At the moment, I'm not able to reproduce the issue. Could you let me know which version of Remote Desktop Manager you are currently using? If you are not running 2026.2.16.0, could you please update to that version and test whether the behavior persists?

Regarding the double $$, if it does not work directly in the terminal, it will not be supported in RDM since MobaXTerm is launched using the same mechanism.

Please let me know the results after testing.

I look forward to your reply.

Best regards,

Jacob Lafrenière

avatar

Hello,

sorry for the delay, i just tried with 2026.2.17.0 and it's not working.

Thanks