title: How to convert id_rsa.pub to id_rsa?
body: <p>basically my computer bug down earlier and can no longer retrieve my files from my SSD HD.</p>
  
  <p>i have my id_rsa.pub with me since I emailed this to our support team before for me to access the servers.</p>
  
  <p>now I execute this command "ssh-keygen -t rsa" to my computer to generate new pub key.</p>
  
  <p>upon checking the file is inside .ssh and i just replace the id_rsa.pub with the file i have on my email and leave id_rsa as it is.</p>
  
  <p>trying out to access the server but always give me an error "Permission denied (publickey)."</p>
  
  <p>it could be because of id_rsa which is still the latest.</p>
  
  <p>any way i could replace the value based on the pubkey i have?</p>
  
  <p>thanks.</p>