546
edits
No edit summary |
|||
Line 1: | Line 1: | ||
== SSH Port Forwarding == | |||
The Allegro Network Multimeter can be configured to to use SSH Port Forwarding to allow remote access to the device behind a NAT. | The Allegro Network Multimeter can be configured to to use SSH Port Forwarding to allow remote access to the device behind a NAT. | ||
Line 5: | Line 5: | ||
This port can now be used to send HTTPS requests to the Multimeter. | This port can now be used to send HTTPS requests to the Multimeter. | ||
=== Preparing the SSH server === | |||
==== Create a user ==== | |||
The user on the SSH server does not need any special rights and does not need a login shell. Example: | The user on the SSH server does not need any special rights and does not need a login shell. Example: | ||
Line 13: | Line 13: | ||
$> useradd -m -s /usr/sbin/nologin mmremote | $> useradd -m -s /usr/sbin/nologin mmremote | ||
==== Allow SSH access via public key ==== | |||
The Allegro Network Multimeter uses SSH public key authentication to log in to the SSH server. The public key can be found in the '''SSH public key''' field in the '''SSH Port Forwarding''' settings dialogue. | The Allegro Network Multimeter uses SSH public key authentication to log in to the SSH server. The public key can be found in the '''SSH public key''' field in the '''SSH Port Forwarding''' settings dialogue. | ||
Line 24: | Line 24: | ||
There are two options to access the Multimeter: | There are two options to access the Multimeter: | ||
==== Option 1: No proxy ==== | |||
Advantage: | Advantage: | ||
Line 41: | Line 41: | ||
Save and close the configuration file and restart the SSH service. | Save and close the configuration file and restart the SSH service. | ||
==== Option 2: With HTTPS proxy ==== | |||
Advantage: | Advantage: | ||
Line 79: | Line 79: | ||
This requires that the hostname is resolved by the DNS server. This can be solved by a wildcard DNS CNAME entry to point at the SSH server. | This requires that the hostname is resolved by the DNS server. This can be solved by a wildcard DNS CNAME entry to point at the SSH server. | ||
=== Configuration of the Multimeter === | |||
In the configuration dialogue, insert the parameters to access the SSH server. For example: | In the configuration dialogue, insert the parameters to access the SSH server. For example: |
edits