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
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
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