23rd November 2008
in
Networking, Security, System, cli
It doesn’t get easier than this. Open up a terminal in Ubuntu and type
sudo tasksel
An ncurses screen will then allow you not only to install a LAMP server in three moves but also select a Samba, Tomcat Java server[...]
Tags: server, Ubuntu
No Comments
21st November 2008
in
Networking, Security, cli
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 [...]
Tags: ssh
2 Comments
7th November 2008
in
Networking, Security
You can block an IP from IPTABLES by using
iptables -I INPUT -s 192.168.0.88 -j DROP
You can simplify things a little bit by using a shell script and a predefined text file containing the IPs we want to be blocked. Eit[...]
Tags: iptables
No Comments
7th November 2008
in
Security
You don’t want your administrator to find out which sites you have been visiting lately. Use SSH for a secure connection. Create a local proxy to run on port 8000:
ssh -C -D 8000 -p 443 user@address.com
aft which y[...]
Tags: internet, ssh
No Comments