MobaXterm sessions gives error _ssh1: option requires an argument -- p

MobaXterm sessions gives error _ssh1: option requires an argument -- p

avatar

Hi,

I'm trying to set up MobaXterm sessions as subentries under our primary SSH terminal sessions for when it's useful to use it. I'm setting Host and Credentials to Inherited and Mode to SSH, but when I launch it, I get an error in MobaXterm: _ssh1: option requires an argument -- p

What am I missing? I don't want to have to reference pre-made sessions internal to MobaXterm, I just want to leech off the main entries for users or applications for which this is handy.

Thanks, Chris J.

All Comments (3)

avatar

Hello,
Thank you for reaching out regarding this matter.
Could you please send me a screenshot of the properties of your entry?
Additionally, the -p flag refers to the port. Could you kindly check whether the port number is correct or if there might be an issue with it?
Best regards,

Tommy Sanders

avatar

Thanks for the tip on the port. "Default" (also showing up as -1) doesn't work. Once a port of 22 is explicitly added, it works.

avatar

Hello,

Thank you for your response.

Could you please confirm whether the issue has been resolved, or if you're still encountering the error? I just want to make sure I understand whether the solution worked.

Best regards,

Tommy Sanders