I realized the sshd installed onto ubuntu server 12.04 LTS does not have session timeout, once login via ssh user can stay in the remote console for unlimited amount of time. I checked the configuration file in /etc/ssh/sshd_config and realized there is no parameter for session time out, I used man sshd_config and realized there … Continue reading sshd session time out
Tag: sshd_config
Debian: Checking your Linux for potential rootkit
You have been tasked to set up a Linux server, you have just installed the core packages of debian with debian small CD. After installation is completed, you download two rootkit checkers: apt-get update #To ensure you have the latest package database. apt-get upgrade #To ensure you have the latest package with security holes patched. … Continue reading Debian: Checking your Linux for potential rootkit
Configuring Jailed SFTP
By default if you do service ssh start you can access the Linux system remotely using sftp or ssh. Supposed you want to restrict non-root users to /home/sftp through sftp you can do the following: First you can check if there is a group for sftp: cat /etc/group |grep sftp If nothing is shown then … Continue reading Configuring Jailed SFTP