Ubuntu system toolbox

//Create partitions: fdisk parted select <device_name> mkpartfs PART-TYPE FS-TYPE START END //Create file block, erase data, create swap: lsblk blkid //List all block storage/ids xinput --list --short //Check port usage: netstat -l //Check all installed packages: dpkg --get-selections //Check all path for a package: dpkg -L

Protect your server from ssh password brute forcing

The Story I have been seeing some hackers out there trying to hack into my AWS instance. Fortunately, AWS did a very good job on securing your EC2 instance. To access your instance you need to use the private key(.pem) associated with your instance. So the only thing you need is to make sure you … Continue reading Protect your server from ssh password brute forcing