Siemens SIMATIC NET APE1402 Manual de configuración - Página 26

Navegue en línea o descargue pdf Manual de configuración para Equipamiento industrial Siemens SIMATIC NET APE1402. Siemens SIMATIC NET APE1402 36 páginas. Application processing engine

Siemens SIMATIC NET APE1402 Manual de configuración
2.11

Disabling SSH (Linux Only)

Uninstalling the SSH server is the most effective way of disabling SSH. From the Lin-
ux shell, type:
apt-get remove openssh-server
2.12

Disabling Root Login via SSH (Linux Only)

To prevent users from logging via SSH as a root user, do the following:
Note
Windows® does not come with an SSH server by default.
NOTICE
Make sure to have an user configured before disabling SSH for the root profile. For
more information, refer to
1.
2.
3.
4.
5.
6.
2.13

Disabling the Gigabit Ethernet Port (Linux Only)

To disable the RJ45 gigabit Ethernet port on the front face of the RUGGEDCOM APE
module, do the following:
1.
2.
3.
4.
5.
RUGGEDCOM APE (Application Processing Engine)
Configuration Manual, 12/2019, C79000-G8976-1121-05
Login or gain root access.
Using vim or nano, open the file /etc/ssh/sshd_config
In the file, locate the following line:
#PermitRootLogin no
Change the line to the following:
PermitRootLogin no
Save and close the file.
Restart the SSHD service by typing:
/etc/init.d/sshd restart
Login or gain root access.
Using vim or nano, open the file /etc/network/interfaces.
In the file, locate the following line:
auto allow hotplug eth1
iface eth1 inet dhcp
Change the line to the following:
#auto allow hotplug eth1
#iface eth1 inet dhcp
Save and close the file.
Configuring and Using the RUGGEDCOM APE
"Adding a User (Linux Only) (Page
2.11 Disabling SSH (Linux Only)
13)".
17