Public-key authentication is is based on the use of digital signatures. Each users have to create a pair of keys. ie public key and private key. Private key is owned by user and the public key is given to the server. When the user tries to authenticate, server check for the matching public key and sends a challenge to the user. Private key is used to authenticate the user, so never provide your private keys to others. If anyone got your private key, they can login to the server as you. So keep your private key file in a secure place and make sure that no one else has access to it.
Secure Shell (SSH) public key authentication is used for clients to acess servers without using passwords.
Steps to configure public key.
OpenSSH is the SSH software installed on the client system. The ssh -V will show the openssh details in the server. (more…)
In order to get a valid SSL certificate, you will need to generate a CSR that a certificate signing authority (such as Verisign or Thawte) will request. You have to determine the URL for the secured web site – this should be a Fully Qualified Domain Name (FQDN), i.e. if you want to access your secured website through https://www.example.com/, then the FQDN of your website is www.example.com
Select a few large and relatively random files on your server – compressed log files are a good start. These will act as your random seed enhancers. We refer to these as file1:file2:…:file5 below. Generate a key with the following command:
(more…)
To set up a VPS from the default minimal Debian Etch template (you can find it in /vz/template/cache/), run:
[root@melbourne ~]# vzctl create 157 –ostemplate debian-5.0-i386-minimal –config vps.basic
The 157 must be a uniqe ID – each virtual machine must have its own unique ID.
To start vm at boot, run
[root@melbourne ~]# vzctl set 157 –onboot yes –save
To set a hostname and IP address for the vm, run:
[root@melbourne ~]# vzctl set 157 –hostname debian.server.com –save
[root@melbourne ~]# vzctl set 157 –ipadd 192.168.0.157 –save
(more…)
Have you ever wondered while you access a website through a secure connection , you happen to get a warning message that the certificate is not issued by a trusted authority.
In most cases , the exact warning message that you will get depends on your browser as follows:
I E – The security certificate presented by this website was not issued by a trusted certificate authority.!
Firefox – The certificate is not trusted because the issuer certificate is unknown. (Error code: sec_error_unknown_issuer)
(more…)
PERL MODULES
What is Perl?
Perl is a high-level programming language with an eclectic heritage written by Larry Wall and a cast of thousands. It derives from the ubiquitous C programming language and to a lesser extent from sed, awk, the Unix shell, and at least a dozen other tools and languages. Perl’s process, file, and text manipulation facilities make it particularly well-suited for tasks involving quick prototyping, system utilities, software tools, system management tasks, database access, graphical programming, networking, and world wide web programming. These strengths make it especially popular with system administrators and CGI script authors, but mathematicians, geneticists, journalists, and even managers also use Perl.
(more…)