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