Additional settings and packages
Packages and configurations
These installations and settings make it easier for you to work on the server and increases the security.
SSH "ServerAliveInterval"
In some cases, the SSH connection may break. This is very annoying, especially if you are working on the server and the current process should not be interrupted, such as an update. To avoid this, set the following setting in the /etc/ssh/ssh_config
configuration file on your client computer!
ServerAliveInterval 30
SSH port
For more security, change the port for SSH connections. To do this, install the additional package.
root$ |
|
Go to /etc/ssh/sshd_config and change the port for the SSH service to 22001 or something else, and tell SElinux about your new configuration with:
root$ |
|
root$ |
|
Lastly, configure the firewall for the changed port and remove the old one.
root$ |
|
root$ |
|
root$ |
|
Now, restart the SSH service and re-login to your system with your new port number.
root$ |
|
Set a new secure password and disable VNC
If you can now start your system with Dracut and have access via the newly configured SSH port, we can now disable the connection via VNC and replace the weak password with a strong one.
To change the password type:
root$ |
|
To disable the VNC service, shutdown your system with:
root$ |
|
Login to your vServer configuration website or utility and unset VNC for your system.
Now start the server.
HTOP
"Htop" is an improvement of the "top" application for monitoring current running processes and to display memory and CPU usage.
root$ |
|
NMON
Mit nmon kann die CPU-Aktivität über einen längeren Zeitraum beobachtet werden.
yum install nmon
IPTRAF
Ist ein Netzwerkmonitoring-Tool für die Konsole.
yum install iptraf
Wondershaper
Um den Netzwerk-Durchsatz zu beschränken kann wondershaper
eingesetzt werden.
Kommentare