Tag Archives: sshd

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 … Continue reading

Posted in Linux, Security, System OS | Tagged , , , , , , , , | Leave a comment

Arch Linux: Turning on sshd

1. Create RSA key pairs: ssh-keygen. Save the generated key pairs as /etc/ssh/ssh_host_rsa_key 2. Turn on sshd service: sshd 3. Check if the service is present: netstat -antp |grep 22 4. Add a line in /etc/fstab to mount /dev/pts, this … Continue reading

Posted in Linux, Security, System OS | Tagged , , , | Leave a comment

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 … Continue reading

Posted in Linux, Security, System OS | Tagged , , , , | Leave a comment