implemented the ssh key convertion