root@etoorlan4c:~/.ssh# ssh-keygen -iEnter file in which the key is (/root/.ssh/id_rsa): uudecode failed.I'm trying to get the public key that corresponds to the private key in id_rsa. I run the above command and it fails with a uudecode error. The key is copied and pasted so it's presumably correct. I've tried to use a system generated key ssh-keygen -t rsa and that returns an error as well.root@etoorlan4c:~/.ssh# ssh-keygen -i Enter file in which the key is (/root/.ssh/id_rsa): decode blob failed: invalid formatNote, the second example is just to illustrate failure of the command in multiple contexts in case case this is a symptom of a larger error. My main concern is fixing the first error. 
SSH-Keygen -i Fails: uudecode failed. What can cause this?
ssh
/root/.ssh/id_rsa content is invalid, despite you having pasted contents over.Remove the old file and recreaterm /root/.ssh/id_rsa*ssh-keygen -t rsa