Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Fail to access an openstack instance

I cannot access to any created instance:

ssh -i mykey.pem ubuntu@192.168.1.49

Load key "mykey.pem": invalid format ubuntu@192.168.1.49: Permission denied (publickey).

where is the problem and how can i solve it ?

Fail to access an openstack instance

I cannot access to any created instance:

ssh -i mykey.pem ubuntu@192.168.1.49

Load key "mykey.pem": invalid format ubuntu@192.168.1.49: Permission denied (publickey).

where is the problem and how can i solve it ?

The content of my new keypair:

-----BEGIN RSA PRIVATE KEY-----

MIIEogIBAAKCAQEAzIuhwuW4uKTwrhk1J2MMjEcXEwTo8G5nkBVcTHqki1YFX9i0 /kEHVwP5d9w07Scgwrz8/30JN8wtSzrf6etleUq/mvp9jhUxvHS5NVduBt8jrJ/S HTTZ39F4jkSMFHHX2KlGWNLvzTx+nybx75VlSDdXqbyyn2OOCAk2KrKPL2b0nkD3 VnTt4QTZoUpFHM3ibYjE1eVCeXgcrtjd6QwOd8GY71CghglOSj87qA/y9V+5Ixwr YMPKqFO+UOHL7PlkgpOOS/bh8w1EuTEu/RQDbxKvu8pe/GkA2tk3AkyhZZEmtszR GvikEIcsJaddNJZu0t5cczBEcRtCiNEqUGTZGQIDAQABAoIBADCB9Ky5ueLgCsve 4oIitTkXKtux0GQkap760da5RwhcMA4Y4GNjnJAAO0s3h72uB9Dm7MDSMDtxSlSK 88sPrhLjrSjduqTVVeQxcjK6Nzed92HazQNsIzc2//YNP4MhtGSHUE2ESKZNcGHh 5IJC1bAYn8t7Gok+HNK/DH93tQkyXsb1Lca37VzFm/XtZgWi80e1hfRmU9NTcPer gc9qhaDccyETRe5i+6nVvxUgKDui0dZzjZk9x3HV86MBU7aIS7yNNL0RnJR4ni72 G7x2UiH0F0cMu9dkaacvH53nuEQP1mJ3Vwm53Sc6iRi1EGdQC1zARM39iK49oil4 PWIhm+ECgYEA6QYlT+LdS3iWqh1yYRvb1E05D45fzoI/0l82kXTY0oHj5iLXAsSf u3O6zo3IMwixtY1XCRAtSn1BK1098mNjZGpFo9navekzIOi7AZc2FZehJVBxUXma O40a5XbPOTgWGn7DFrlcdiKvnwoYPdB4iwF0CBqC5dWPZWgU94SK4q0CgYEA4Lal m3ZD/aYEjuzxKKPMtzY0iSMU6oATwG0koTN2MKvPEmg5EHf3p+hysA+31RPMdkWH 7NXR0dccXeXSME/FVcQFScc6lfynufFEnp0UE9pwCbmnNjn3cCcWqJA2Lm6j48KI 7dqHaSzu1iedEniiA11DsdWXayEw3lyNke32yZ0CgYAQMiAnxEHTPAdkvXU0sKX/ xHpBzYh1JvJeocV+KJvlTafUV/mPtLDRa4LBVnNisKkBUFiLRbeQJNKBvBJRJX1D /mrmr36Xkny+Pc65lpPovkgx+rxViFki6HTFHBPdCzvmDYdrrehyQYjpSd9TdIjc SHaTFZyhcs1ro+dJKMoqZQKBgFnTCM3k73az5zyOoDOjjlBqHYP3/wNh4QNZXXwG iycXdnWgLbdUjS2UMEwKbGyDNobMcnIMYovj1dX+6Q8gw/vtmEOOnO+ZiB4+wDQ7 C+yHs6Nfj+SQNUWiil8lDlNvLJn9iCiz4s77BBmcyh+5EuIPZODwRU+we81W58w+ eBjNAoGAF/PgyUrvLkh3rVx8JrflvIwd21s6eBtGZNS8OClrn+1DMLyTKff6p/yE AeJtflspK5J1Bdt4N7jqG17/mPIpxB9iw/DJo4GAIFDycGAjQvXjUp9xfBHie92U WOFeB9XHX6SBFD7OMjNXYyTdmgBY5AVyl/zozmdb1W/0iUzPMvQ= -----END RSA PRIVATE KEY-----

Fail to access an openstack instance

I cannot access to any created instance:

ssh -i mykey.pem ubuntu@192.168.1.49

Load key "mykey.pem": invalid format ubuntu@192.168.1.49: Permission denied (publickey).

where is the problem and how can i solve it ?

The content of my new keypair:

-----BEGIN RSA PRIVATE KEY-----

MIIEogIBAAKCAQEAzIuhwuW4uKTwrhk1J2MMjEcXEwTo8G5nkBVcTHqki1YFX9i0 /kEHVwP5d9w07Scgwrz8/30JN8wtSzrf6etleUq/mvp9jhUxvHS5NV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rehyQYjpSd9TdIjc SHaTFZyhcs1ro+dJKMoqZQKBgFnTCM3k73az5zyOoDOjjlBqHYP3/wNh4QNZXXwG iycXdnWgLbdUjS2UMEwKbGyDNobMcnIMYovj1dX+6Q8gw/vtmEOOnO+ZiB4+wDQ7 C+yHs6Nfj+SQNUWiil8lDlNvLJn9iCiz4s77BBmcyh+5EuIPZODwRU+we81W58w+ eBjNAoGAF/PgyUrvLkh3rVx8JrflvIwd21s6eBtGZNS8OClrn+1DMLyTKff6p/yE AeJtflspK5J1Bdt4N7jqG17/mPIpxB9iw/DJo4GAIFDycGAjQvXjUp9xfBHie92U WOFeB9XHX6SBFD7OMjNXYyTdmgBY5AVyl/zozmdb1W/0iUzPMvQ= -----END RSA PRIVATE KEY-----

Fail to access an openstack instance

I cannot access to any created instance:

ssh -i mykey.pem ubuntu@192.168.1.49

Load key "mykey.pem": invalid format ubuntu@192.168.1.49: Permission denied (publickey).

where is the problem and how can i solve it ?

The content of my new keypair:

 -----BEGIN RSA PRIVATE KEY-----

MIIEogIBAAKCAQEAzIuhwuW4uKTwrhk1J2MMjEcXEwTo8G5nkBVcTHqki1YFX9i0 /kEHVwP5d9w07Scgwrz8/30JN8wtSzrf6etleUq/mvp9jhUxvHS5NVduBt8jrJ/S HTTZ39F4jkSMFHHX2KlGWNLvzTx+nybx75VlSDdXqbyyn2OOCAk2KrKPL2b0nkD3 VnTt4QTZoUpFHM3ibYjE1eVCeXgcrtjd6QwOd8GY71CghglOSj87qA/y9V+5Ixwr YMPKqFO+UOHL7PlkgpOOS/bh8w1EuTEu/RQDbxKvu8pe/GkA2tk3AkyhZZEmtszR GvikEIcsJaddNJZu0t5cczBEcRtCiNEqUGTZGQIDAQABAoIBADCB9Ky5ueLgCsve 4oIitTkXKtux0GQkap760da5RwhcMA4Y4GNjnJAAO0s3h72uB9Dm7MDSMDtxSlSK 88sPrhLjrSjduqTVVeQxcjK6Nzed92HazQNsIzc2//YNP4MhtGSHUE2ESKZNcGHh 5IJC1b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