Tuesday, January 13, 2015

Encrypt Decrypt file(s) using Openssl

Wonder how to encrypt file(s) using openssl with a password?
Check my video :)

For password I have used des3 encryption in openssl.

Sunday, January 11, 2015

Secure SSH Login to Your Ubuntu VPS

Change SSH Port to something else.

Using something other than the default Port 22 for the ssh server can help avoid attacks by script kiddies. To do so, run command to edit the ssh config file:

mahesh@mknsoft.com ~
[09:41:40]⌘  vim /etc/ssh/sshd_config

Find out Port 22, change to Port 22222 or any other number between 1024 and 65536. After this step, you can do SSH access by running below command:

mahesh@mknsoft.com ~
[09:42:40]⌘  ssh -l root -p 22222