Community Articles
Find and share helpful community-sourced technical articles
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

You have generated a certificate file:

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout test.key -out test.pem

After deploying the key, you try to ssh into the instance but get prompted for a password.

ssh -vvv -i  test.pem <user>@<host>


This is an issue with an updated openssl version,

> openssl versionOpenSSL 1.0.1k 8 Jan 2015

This is a new version of openssl. The new version does not create the key with RSA at the begin and end. So you have to use a separate command to convert the key file to old version of ssh

openssl rsa -in test.key -out test_new.key

Once that is done, use the new file for ssh.

ssh -vv -i  test_new.key <user>@<host>
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎10-23-2015 12:58 AM
Updated by:
Top Kudoed Authors