Generating Ssh Key Pairs; Generating The Private Key In Putty Format - Siemens SINUMERIK 840D pl Manual

Cnc controllers
Hide thumbs Also See for SINUMERIK 840D pl:
Table of Contents

Advertisement

4.5.6.2

Generating SSH key pairs

Procedure
1. Create the directory in which the keys are stored:
mkdir -p ~/.ssh
2. Create the key pairs:
ssh-keygen -t rsa
– Generate the key pair "public/private rsa".
– Enter the storage location of the key, e.g. /home/root/.ssh/id_rsa.
– Enter the password.
– Repeat the password.
3. Copy the public key with the command "ssh-copy-id" to the authorization files of the new
SINUMERIK control.
4. Ensure that the example name and the IP address have been replaced:
cat ~/.ssh/id_rsa.pub | ssh root@192.168.0.198 "mkdir -p ~/.ssh &&
cat >> ~/.ssh/authorized_keys
– The following is then displayed:
Further details can be found at the following link:
ssh key (https://www.yoctobe.com/servers/setting-up-ssh-keys/)
4.5.6.3

Generating the private key in PuTTY format

PuTTY SSH and the WinSCP client for Microsoft Windows do not use the same key format as
the OpenSSH client. For this reason, a new SSH public and private key must be created with
the PuTTYgen tool or an existing OpenSSH private key converted.
Manage MyMachines /Remote - installation in existing control environments
Application examples, 10/2018, A5E45211403B AB
If you do not want to use a password, leave the input empty.
Your identification is stored in the following directory: /home/root/.ssh/id_rsa.
Your public key is stored in the following directory: /home/root/.ssh/id_rsa.pub.
The fingerprint of the key is shown as follows:
SHA256:vN0y+nIMQ0Nb5UOBkZ8upyVa4wwf/8Z1lDg7TJcMvrg root@iot2000
The Randomart Image of the key is:
The authenticity of host '192.168.0.198 (192.168.0.198)' can't
be established.
ECDSA key fingerprint is
SHA256:KwhYZhX1APiu1K0WXUkTmzF35S9VDhqv0YcFo5/KSWg.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.198' (ECDSA) to the list
of known hosts.
DISPLAY "(null)" invalid; disabling X11 forwarding
Installation/configuration
4.5 SIMATIC IoT2040
91

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 840d sl

Table of Contents