Procedure
1. Login to WinSCP.
2. Select Edit > Advanced > SSH > Authentication > Authentication parameters > Private key
file.
3. Deactivate the login with user name and password.
Note
Ensure login
Perform this step only when you are sure that you can login with the created private key!
Otherwise, you can no longer login to the IoT2040 and must reinstall the firmware.
– Create a backup before you perform the next steps.
– Open the file "/etc/ssh/sshd_config".
– Change the parameter: PermitRootLogin without-password.
– Change the parameter: PermitEmptyPasswords no.
– Remove any superfluous packages from the Yokto image (optional).
– opkg remove gdbserver --force-removal-of-dependent-packages
– opkg remove gdb-dev
Manage MyMachines /Remote - installation in existing control environments
Application examples, 10/2018, A5E45211403B AB
For security reasons, we recommend that the superfluous packages and binaries made
available in the default image of the IoT2040 are deleted.
Installation/configuration
4.5 SIMATIC IoT2040
95