content top

Enable SSH (Secure Shell) in Elementary Luna / Ubuntu

Enable SSH (Secure Shell) in  Elementary Luna / Ubuntu

To get started, press Ctrl – Alt – T on your keyboard to open Terminal. or open your  gnome-Terminal  (If installed) When it opens, run the commands below to install SSH Server.   sudo apt-get install openssh-server That's it! , if you need to change default port and stuff , edit the below file sudo vi /etc/ssh/sshd_config or sudo gedit /etc/ssh/sshd_config For a simple and quick SSH client, click here to download Putty. Share...

Read More

Change HostName Permanently – Ubuntu

Change HostName Permanently – Ubuntu

We can manually edit these files using a text editor like vim: sudo vim /etc/hosts sudo vim /etc/hostname In /etc/hostname simply overwrite the existing hostname with a new one. In /etc/hosts you will find the hostname on the line beginning 127.0.0.1 – overwrite only the hostname with the new one, and then reboot.   Share this:FacebookTwitterGoogleTumblrLinkedInEmailLike this:Like...

Read More

Mind hacking part #1 – Human curiosity

Mind hacking part #1 – Human curiosity

The curiosity about one’s self and the environment leads a person to investigate and with the help of his findings draw adequate inferences. It guides him to attain his desires and goals in life, to create a vision and to dream. It is that quintessential quality in man that makes him superior to other creations in terms of sociability, morality and intellectuality. This is something which enables him to build communities and develop...

Read More

Deny IP Range in .htaccess file

Deny IP Range in .htaccess file

Most of the time you need to block the whole range of IPs using .htaccess file and i recently noticed below code not working. <Files ajay.php> order deny,allow deny from all allow from 192.168.0.0/24 </Files> After couple of searches i found the /24 doesn’t work here and you need to make the subnet mask as 255.255.255.0   to allow single IP is easy as below <Files register.php> order allow,deny allow from...

Read More

Pure-FTP / How to Create User or reset Password

Pure-FTP / How to Create User or reset Password

Pure-FTP is one of the stable , Secure  FTP server , Very easy to install from source or using YUM in CentOS,  or In Case of Ubuntu just run “sudo Apt-get install pure-ftpd-common pure-ftpd.   After Installation, I have noticed it has a Database of it’s own for handling users and a bunch of nice commands to manage them. here it goes    Create New FTP User Open the terminal and run this command: ajay~# pure-pw useradd...

Read More
content top
%d bloggers like this: