Jump to content
Dataton Forum
ffalk

Send SSH commands from WATCHNET

Recommended Posts

Hello Forum!

Having a little project where I need to create a custom GUI for some well known single-board computers to do things. I would like to use WATCHNET for this, but I need to send SSH commands from it to get those boards to do what I want them to do. I couldn't figure out how to do this yet, as there are no user credential options in the protocols and commands sections... Any suggestions? Or is it simply not possible from within WATCHNET?

Thanks

Share this post


Link to post
Share on other sites

It would be a simple SSH connection (actually 10), so on the host side it doesn't matter, would work with credentials as well as ssh keys set up correctly on the client (WN). But from within WATCHNET there seems to be no option to put in credentials. So I will give the keys method a try another day. But I expect it to be a puzzle game as well if it will work at all...

I thought maybe another forum member has already come across this, with all those cheap little boards and sensors out there.

I already have a solution to cover this project using another show control software, I think I'll focus on this one for now. Would have preferred using WN though.

Share this post


Link to post
Share on other sites

I doubt WN can do SSH, so I don't think that's what Fredrik was alluding to. However, we're considering SSH support as an enhancement for Blocks, as it can already handle many other forms of server communication.

Mike

Share this post


Link to post
Share on other sites

Hi,

While it is technically possible, but highly complicated, to make WN send SSH commands I would advise against it for security reasons.
There is no support for encrypted communication channels with external devices from WATCHNET so any ssh server would have to be configured to accept "none" as its cipher-type for connections and any communication would therefore be sent as clear-text.

Best,
Joakim

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×