PC side:
To configure the SSH server on the Windows PC it's necessary to install a SSH server. I use for this example bitvise SSH Server but it's possible to use any SSH server. Below there is a link to bitvise WINSSH Server:
https://www.bitvise.com/ssh-server-download
To configure Bitvise refer to the documentation on site.
NetX side:
Open the device details page:
Click on Secure SHell. In the dialog box set username, password, IP address and port:
The same port, username and password configured on SSH server must be set inside NetX app.
The IP address is a local device IP
The default port for SSH is 22 but it's possible to change it.
It's possible to configure the SSH when the smartphone is connected to the same wi-fi of the PC (Local configuration) or to configure the SSH via internet (Remote configuration).
For example:
Local configuration will be:
IP address 192.168.1.108;
port 22
Remote configuration will be:
IP address xxx.xxx.xxx.xxx (public IP)
port 72
Router side (only for Remote Configuration):
The configuration is different for each router. I do this example with a TP-LINK Archer D9 Router.
Enter in the router and choose “Forwording”:
Service port: 72 that is the same port that we have configured on NetX app in the “Remote Configuration” section.
IP Address: 192.168.1.108 that is the IP address of the device.
Internal Port: 22 that is the default SSH port configured in NetX.
Click “Save”.
Now you can use SSH functionality also if the smartphone is connected to 2G, 3G, 4G or is connected to a different wi-fi network.