Skip to main content

SSH

Connections

img70p

The camera has two ports configured as follows:

Ethernet PortNetwork Configuration
ETH-ADHCP client
ETH-BStatic IP: 10.100.10.100
note

The following guide assumes you are using the ETH-B port. If you are using ETH-A, then make sure to replace the static ip with your local network IP.

Dropbear SSH

qtecOS GNU/Linux supports Dropbear SSH as an ssh server with X11 forwarding built-in.

Package Namedropbear
DescriptionA lightweight SSH and SCP implementation
Websitehttp://matt.ucc.asn.au/dropbear/dropbear.html
Repositoryhttps://github.com/mkj/dropbear

X11 Forwarding

From your host, run the ssh -X command to the camera.

Example:

Camera IP: 10.100.10.100

Host
ssh -X root@10.100.10.100

Now, you will be inside the camera. Run:

Camera
glxgears

X11 Forwarding (with another local Xserver)

Requirements

Host
apt install xwayland

Run the Xephyr server:

Host
Xephyr -br -ac -noreset -screen 1150x850 :8
Host
DISPLAY=:8 ssh -X root@192.168.2.229
Camera
glxgears
tip

How to run a remote command:

Host
DISPLAY=:8 ssh -X root@192.168.2.229 -p 2222 glxgears

More details: https://www.dbts-analytics.com/notesxfwdgb.html

X11 Forwarding Through a Tunnel

Host
ssh robot@proxy -N -f -L 5022:10.100.10.100:22
ssh -X -p 5022 root@localhost

GWT Through a Tunnel

GWT is the camera web interface. You can access it directly using your host web browser and navigate to http://10.100.10.100. However, if you are behind a tunnel, you can use the following command:

Host
ssh robot@proxy -N -f -L 5680:10.100.10.100:80

After that, you can navigate to http://localhost:5680, so run firefox localhost:5680 to open the remote GWT web camera interface.