EWIO
2
User Manual
V 1.1 | Stand 10/2020
Seite 87 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 will get in the terminal the following messages issued:
Generating public/private rsa key pair.
Enter file in which to save the key (/home/root/.ssh/id_rsa):
Press <ENTER>
/home/root/.ssh/id_rsa already exists.
Overwrite (y/n)?
Input <y>
Enter passphrase (empty for no passphrase):
Press <ENTER>
Hint !
Always let the passphrase empty otherwise the user will be asked on every login
for it !
Enter same passphrase again:
Press <ENTER>
If the keys were successful generated you’ll get the following output:
Your identification has been saved in /home/root/.ssh/id_rsa.
Your public key has been saved in /home/root/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:jYgP6ipdp9OrPzf1KaM7Gacnfh7g88gdbqeceD9jWKg root@EWIO2-7e956e
The key's randomart image is:
+---[RSA 2048]----+
| |
| |
| |
| . . o |
| o . S .. |
| ..o....+ . |
| ... +. oBo+ . |
|... o o.EOO+B |
|o.. .+o=B%OB.o |
+----[SHA256]-----+
11.4.1.2.
Deploy the public key
You need to deploy the public-key on the EWIO
2
device you intend to remotely control:
cat ~/.ssh/id_rsa.pub | ssh root@<ewio2-remote-IP> "mkdir -p ~/.ssh && cat >>
~/.ssh/authorized_keys"