January 2011

Computers, security, Server, Tips & Guides

Howto solve ssh_exchange_identification: Connection closed by remote host error

I’ve keep getting the message “ssh_exchange_identification: Connection closed by remote host error” after I managed to finalized my CRUX linux on my decTOP box today. After enough looking into documentations, I finally found out that I need to edit the “/etc/hosts.allow” file to allow SSH connection, for example: #/etc/hosts.allow sshd:ALL or for more conservative setting […]

GNU/Linux, Internet Stuff, security, Server, Tips & Guides, Ubuntu/Debian

Video: Cracking Wifi WEP Keys using Backtrack 4 and aircrack-ng

Here’s a video showing you how to crack Wireless WEP keys using Backtrack 4 and aircrack-ng. Additionally, you need a compatible wireless adapter or compatible wireless chipset which can be used with aircrack-ng. Here are the list of the best wireless cards to use(according to aircrack-ng wiki): Alfa AWUS036H [b/g USB] 1W 802.11b/g USB Wireless […]

Computers, GNU/Linux, security, Ubuntu/Debian

Howto make SSH listens on multiple port

Although it is a security risks, it is possible to make OpenSSH listens on multiple port. To do that, you need to edit /etc/ssh/sshd_config file. and enable the “GatewayPorts” option. AllowTcpForwarding no GatewayPorts yes X11Forwarding no #X11DisplayOffset 10 Look for the line that contain “Port 22”, and uncomment it if necessary, and add additional Port […]

GNU/Linux, Server, Ubuntu/Debian

How to change Linux I/O Scheduler during runtime

This post describes the steps on how to change the Linux I/O scheduler dynamically while running a Linux operating system. You can refer to the previous post on the explanation of the differences of Linux I/O schedulers. I/O schedulers determine how disk read/write are managed by the Linux kernel. Changing I/O scheduler requires you to […]

GNU/Linux, Open Source, security, Ubuntu/Debian

Easy File Encryption On Ubuntu Linux with OpenSSL

Here’s an easy way to encrypt your file using OpenSSL. The general syntax is: openssl enc (cipher) -e -in (input file) -out (output file) so to encrypt a “plaintext.txt” file, using aes256, you only need to run this command: openssl enc aes256 -e -in plaintext.txt -out encrypted.txt Similarly, to decrypt the file, you can run […]

GNU/Linux, Other Operating System, Ubuntu/Debian

The differences between Linux IO Scheduler

The Linux kernel input/output scheduler (IO Schedulers) controls the way the kernel handles read/write to disks. Different I/O schedulers may have different impact on certain workloads. Here are the list of available Linux I/O schedulers: 1) Noop Noop scheduler is the simplest IO scheduler available in the kernel. It does not perform sorting or seek-prevention. […]

Scroll to Top