Posts

Showing posts from November, 2017

Most useful Linux Commands

Most useful Linux Commands ls     ------------------------------ List all files and directories ls -l  ------------------------------ List all files and directories with some extra information dir  ------------------------------  Display directories mkdir <name>   ------------------------------ Create a directory mkidr -p <dir_name1>/<dir_name2>------------------------------Create multiple directories rmdir <dir_name>------------------------------Remove an empty directory rm <file_name>------------------------------Remove a file/directory with confirmation rm -rf <file/dir_name>------------------------------Remove file/directory without confirmation cat <file_name>------------------------------View a file cat > <file_name>------------------------------Create a new file and edit it touch <file_name>------------------------------Create a file vi <file_name>----------------...

HOW TO CONFIGURE VSFTPD WITH TLS/SSL ON RHEL/CENTOS 6.X

Image
HOW TO CONFIGURE VSFTPD WITH TLS/SSL ON RHEL/CENTOS 6.X AND HOW TO CONNECT SECURE VSFTPD(TLS/SSL) IN HETEROGENEOUS ENVIRONMENTS USING CLIENT PROGRAMS. (PART..A) Traditional FTP is rather insecure. When you login, your username and password are transmitted in clear text, raising the possibility of your credentials  be ing  'sniffed' by a malicious person. Fortunately there's an easy answer to this. You can quite easily configure your vsftpd server to use OpenSSL encryption, so that usernames & password, and even data files, are encrypted during transfer. It takes just a few simple steps:   Vsftpd is already available under CentOS/RHEL   default repositories. We assume that CentOS/RHEL users have enabled default repositories  in his system. Now execute following command.   Note:-  This post works with  Security-Enhanced Linux ( SELinux ) is enabled    Installing and Configuring the Vsftpd in RHEL/CentOS 6.x ...