VBscript - WeOnlyDo Discussion board

VBscript (wodSSHServer)

by FrontierDK, Friday, September 10, 2021, 10:53 (1170 days ago)

Hi all.

Having tinkered a little with the wodSSHD, I haven't been able to actually log in, no matter the client. It seems that changing the allow attribute does...nothing.

Has anyone successfully made the wodSSHD work in VBscript?

Thanks in advance :)

VBscript

by wodSupport, Friday, September 10, 2021, 10:59 (1170 days ago) @ FrontierDK

Hi.

Not sure how you can run wodSSHServer in vbscript, since it's a script language. As for events, it's possible VBScript doesn't allow in/out parameters in events, so when control returns to wodSSHServer your setting is ignored.

Can you try with VB instead?

Jasmine

VBscript

by FrontierDK, Friday, September 10, 2021, 11:07 (1170 days ago) @ wodSupport

Hi Jasmine,

thanks for your quick response. I need it to be in VBscript (also, I don't know VB), and I have a lot of other components used in VBscript, some also with events.

The LoginPassword event is also triggered, but changing the action variable does nothing.

VBscript

by wodSupport, Friday, September 10, 2021, 11:09 (1170 days ago) @ FrontierDK

Hi.

Well, running server component, that must run all the time, from withitn the script.. I'm not sure how good solution is that. But still, if VBScript can't handle in/out parameters not sure if you can use wodSSHServer in it directly, since this is not up to wodSSHServer - our code just don't see your changes at all. There's no workaround for that.

Jasmine