Access your device with SCP
From anywhere, via the Yaler relay.
A device running an SSH service. To set up your device, see getting started.
This tutorial is for Linux and Mac OS X terminal. Prefer a desktop app? Use FileZilla. On Windows, access your device with WinSCP.
Building YalerTunnel on Linux and Mac OS X
How to build YalerTunnel on the client computer in order to enable tunneling SCP.
- Make sure JDK6 (or later) is installed and your PATH environment variable contains the JDK's bin directory.
- Download and unzip the YalerTunnel Java source
- To build YalerTunnel, open a shell, go to the unzipped directory, and type
$ javac YalerTunnel.java
Using YalerTunnel and SCP on Linux and Mac OS X
How to run YalerTunnel on the client computer to enable SCP access to your device.
- To start YalerTunnel on a client computer, using your relay domain (e.g. gsiot-ffmq-ttd5), type
$ java YalerTunnel client 127.0.0.1:10022 try.yaler.io:80 RELAY_DOMAIN
- Open a second shell, on the same client computer.
- To copy a file to your device, using the remote login, via the local YalerTunnel, type
$ scp -P 10022 -o ServerAliveInterval=5 LOCAL_FILE root@localhost:REMOTE_PATH
- To get a file from your device, using the remote login, via the local YalerTunnel, type
$ scp -P 10022 -o ServerAliveInterval=5 root@localhost:REMOTE_FILE LOCAL_PATH
How to fix common issues.
- To make sure YalerTunnel was built correctly, type
$ java YalerTunnel
- If javac
command not found or java
could not find main class download the compiled YalerTunnel.class and try again.
- If downloading the class file does not fix the issue, check your PATH or install JDK or JRE.
- If an issue persists, get help.
This work by Yaler GmbH is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.