Tag Archive | "security"

Understanding and Preventing Fork Bombs

Wednesday, October 7, 2009

0 Comments

A fork bomb is just a bash function that gets called recursively. Once a fork bomb is active on a machine it may not be able to preform normally until a reboot is made, as the only solution to the fork bomb is to kill all its processes. Bash Functions A fork bomb is really [...]

Continue reading...

Passwordless SSH login using SSH Keys

Wednesday, July 1, 2009

0 Comments

SSH keys allow you to login without requiring you to type in your password this tutorial will teach you how to set them up First we need to create the key Then we need to move it over to the machine that we want to be able to login too without the need for a [...]

Continue reading...

Chroot Sftp

Sunday, May 3, 2009

0 Comments

Create a Chrooted group Open up /etc/ssh/sshd_config and add the following to the end of it Restart SSHD Then make users chrooted by adding them to the chrooted group Now when the user sftps the server they will only see the contents of there home folder

Continue reading...

Stopping SSH brute force attacks using iptables

Thursday, April 9, 2009

0 Comments

If your running a SSH server on the default port(22) you've probably noticed a lot of failed login attempts cause due to brute force attacks Adding the following to your IP tables will only allow 3 connections at once from any IP if it goes above 3 then that IP is locked out for 3minutes. [...]

Continue reading...

Linux File Permissions

Sunday, April 5, 2009

0 Comments

What is chmod? Chmod is a command that changes the access permissions of files or directories in order to read, write or execute files How do I view The permissions of files? You can do this by typing Heres is a example of its output What do the letters mean in front of the files/directories [...]

Continue reading...