Category Archives: Uncategorized

How to login remote server using SSH without password?

Simply run this on your command line. $ cat ~/.ssh/id_rsa.pub | ssh yourusername@yourdomain.com ‘cat >> ~/.ssh/authorized_keys’

Posted in Uncategorized | Comments Off on How to login remote server using SSH without password?

Could not connect to LiveReload server

I’m using vagrant, virtualbox, guard-livereload, chrome browser, and Windows 7 OS. I’m using the following command to login or connect to the vagrant server. $ ssh 127.0.0.1 -p 2222 -i ~/.vagrant.d/insecure_private_key -l vagrant In order, for my browser to connect … Continue reading

Posted in Uncategorized | Comments Off on Could not connect to LiveReload server

How to login to your server using SSH in PuTTY.

PuTTY is a free telnet and open source terminal emulator. I often use PuTTY to connect to my server for some reasons like creating a backup files, running simple scripts, deleting, moving files, and etc… Below are the guidelines on … Continue reading

Posted in Uncategorized | Comments Off on How to login to your server using SSH in PuTTY.

[Solve] WordPress Malware Script Attack Fix

Our server was hacked, and all PHP files were infected. The infected PHP file was injected with a malicious code / malware, see below, the code calls another PHP file and run it’s program. In order, to clean the files … Continue reading

Posted in Uncategorized | 330 Comments

[Solved] Local PHP Date/Time is not working properly

I had a little problem running date(“F j, Y, g:i a”); function, it works fine at the first time but then I notice that it displays different time from my computer. <?php echo date(“F j, Y, g:i a”); ?> OUTPUT: June 10, 2011, 9:35 … Continue reading

Posted in Uncategorized | 3 Comments