![Metz Connect EWIO 2 User Manual Download Page 88](http://html.mh-extra.com/html/metz-connect/ewio-2/ewio-2_user-manual_1781387088.webp)
EWIO
2
User Manual
V 1.1 | Stand 10/2020
Seite 88 von 96
METZ CONNECT GmbH | Im Tal 2 | 78176 Blumberg | Germany
Tel. +49 7702 533-0 | Fax +49 7702 533-433
For additional documentations look at www.metz-connect.com
You’ll be asked for root password:
root@<ewio2-remote-IP>'s password:
<password><ENTER>
11.4.1.3.
Test the ssh connection
You can test now the ssh-login on the remote EWIO
2
:
ssh root@<ewio2-remote-IP>
You are able to log in as root on the EWIO
2
with no need of credentials input.
11.4.2.
Remote call
Once you have set the key-based ssh authentification for the remote EWIO
2
, you can call the
tool using following command:
ssh -n <remote-ewio2-host> /usr/bin/ewioIOControl <command>
The <remote-ewio2-host> parameter is the hostname (if an entry in the /etc/hosts file exists)
or the IP-Address of the remote EWIO
2
.
11.5.
Usage of aliases
On the command line you can use the alias:
ewiolc <command>
for local control, or:
ewiorc <hostname/IP> <command>
for remote control.
If you intend to use those aliases also in shell scripts (non-login shell), you need to create the
~/.bashrc
file on the EWIO
2
device with following content:
# Set alias for io local control tool
alias ewiolc='function _(){ /usr/bin/ewioIOControl $1; }; _'
# Set alias for io remote control tool
alias ewiorc='function _(){ ssh -n $1 /usr/bin/ewioIOControl $2; }; _'