Sunday, 15 January 2012

azure - can't connect to virtual machine linux created by puppet -



azure - can't connect to virtual machine linux created by puppet -

i'm trying automate infrastructure using puppet azure.

i've created puppet master using puppet enterprise vm gallery on azure. after that, i've generated certificate running next commands:

sudo openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout cert.pem -out cert.pem sudo openssl x509 -inform pem -in cert.pem -outform der -out cert.cer

then, i've uploaded cert file azure management portal , finally, i've create vm next command:

puppet azure_vm create --management-certificate /tmp/cert.pem --azure-subscription-id=xxxxxx --image 0b11de9248dd4d87b18621318e037d37__rightimage-ubuntu-12.04-x64-v13.4 --location 'west us' --vm-name puppetslave --vm-user xxxx --password xxxxx --puppet-master-ip 23.102.xxx.xxx

finally, i've exported private key using puttygen , i'm using connect new linux vm. unfortunately, i'm getting next error:

server refused out key

and don't know why. i'm stuck @ point , don't know how proceed.

azure openssl puppet putty azure-virtual-machine

No comments:

Post a Comment