First, install putty utility on Linux using the commands below,
Ubuntu
sudo apt-get install putty-tools
Red Hat
yum install putty
To the public key
puttygen test.ppk -O public-openssh -o id_rsa.pub
To the private key
puttygen test.ppk -O private-openssh -o id_rsa