Code Monkey home page Code Monkey logo

Comments (10)

obiltschnig avatar obiltschnig commented on August 12, 2024

On the client side you need to run the WebTunnelSSH executable which is built as part of the SDK. See here for instructions. On a Windows system you also need a SSH client like PuTTY in addition to WebTunnelSSH. WebTunnelSSH first opens a tunnel connection to the device, then starts a SSH client (PyTTY) over that tunnel.

from sdk.

vishakam14 avatar vishakam14 commented on August 12, 2024

Yes, I did download the Windows SDK and tried running it, but it wouldn't run. So I tried running the exe through developers console and got the above exception.

from sdk.

vishakam14 avatar vishakam14 commented on August 12, 2024

Basically I am unable to run the remote manager executable.

from sdk.

obiltschnig avatar obiltschnig commented on August 12, 2024

You must be doing something wrong here. If you start WebTunnelSSH without arguments, it will print a help screen. It will never print Not found: webTunnel.reflectorURI, this only ever comes from WebTunnelAgent. WebTunnelSSH does not need a configuration file usually. What you will need on Windows is PuTTY as SSH client. putty.exe must be in %PATH.

Here's what I did: after building the SDK using the solution file, you open a Command window and cd to sdk\WebTunnel\WebTunnelSSH. Then add putty.exe to the search path:

P:\git\my-devices\sdk\WebTunnel\WebTunnelSSH>set PATH=%PATH%;C:\putty\bin

On my system, putty.exe is in C:\putty\bin; you can usually put it wherever you like.
Then, start WebTunnelSSH and pass in the URL of your device (the link under the device name on the Remote Manager Dashboard, e.g. https://4e142cab-e645-12e5-9a53-000db93012c0.my-devices.net/). Optionally, you can specify the SSH login name (pi in my example, as I'm connecting to a Raspberry Pi):

P:\git\my-devices\sdk\WebTunnel\WebTunnelSSH>bin\static_mt\WebTunnelSSH.exe https://4e142cab-e645-12e5-9a53-000db93012c0.my-devices.net/ /login=pi
Remote Manager Username: user
Remote Manager Password:

You will be asked for your Remote Manager username and password.
After that, PuTTY will launch and you can log-in via SSH to your device.

from sdk.

vishakam14 avatar vishakam14 commented on August 12, 2024

I understand. What I am trying to say is when I download the Remote manager SDK from this link https://macchina.io/remote_downloads.html#sdk, I am unable to run the executable on my Windows. I guess the WenTunnelSSH is part of the remote manager SDK in the link. But I am not able to run the executable from that link.

from sdk.

obiltschnig avatar obiltschnig commented on August 12, 2024

You'll have to build the SDK on Windows to get WebTunnelSSH. You can also download WebTunnelSSH.exe from here.

from sdk.

vishakam14 avatar vishakam14 commented on August 12, 2024

I downloaded the exe and tried running it, nothing happens. Is there a way to run this?

from sdk.

obiltschnig avatar obiltschnig commented on August 12, 2024

As I said here, you have to run it from a command prompt and provide some arguments.

from sdk.

vishakam14 avatar vishakam14 commented on August 12, 2024

IMG-0331

from sdk.

vishakam14 avatar vishakam14 commented on August 12, 2024

Got it to work. Sorry for the trouble, Thank you.

from sdk.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.