Web Design

See who’s poking your Linux box

If you’re using SSH and you have your ports wide open to the world, your best bet would be to install fail2ban. If you’re curious though as of whom is trying to get in by bruteforcing your SSH passwords, you [...]


Spy on your users through SSH

You just connected through SSH and are wondering what your users are doing. Do a cat /dev/vcs1 and this will show you what happens on the first console. If someone is typing, you’ll be able to get an output of his [...]


Accessing Samba shares through SSH

In Linux, you can access Samba shares by using a SSH prompt. We need a host PC (65.219.4.23) and a destination PC (192.168.0.81). We’ll use jack as a username but first we’ll create a new mount directory: mkd[...]


Limit OpenSSH access in Linux

By using “Match” in the OpenSSH configuration file we can limit the right a certain user, group or host enjoys. Add the Match directive in your sshd_config followed by a criteria (User, Group, Address or Host[...]