What operating system are you running the command from? Does running "ssh -i /usr/local/puppet/lalit.ppk root@ ec2-54-242-140-98.compute-1.amazonaws.com" allow you to login?
>From what I understand a .ppk file is generated from putty, in order to use it with an open ssh agent you would need to convert the putty private key to a format it can understand Drew On Monday, December 24, 2012 5:19:17 AM UTC-5, lalit jangra wrote: > > Hi, > > I have created an agent node from a master node using below command. > > puppet node_aws create --image ami-cc5af9a5 --keyname icos-client --type > ti.micro > > Now as i am trying to install puppet on it using below command > > puppet node install \ > --install-script=puppet- > enterprise \ > --installer-payload=/usr/local/puppet/puppet-2.7.0.tar.gz \ > --installer-answers=/usr/local/puppet/agent.txt \ > --puppetagent-certname=ip-10-224-122-211.ec2.internal \ > --login root \ > --debug \ > --keyfile /usr/local/puppet/lalit.ppk \ > ec2-54-242-140-98.compute-1.amazonaws.com > > I am getting below error message. > > [root@ip-10-224-122-211 puppet]# puppet node install \ > > --install-script=puppet-enterprise \ > > --installer-payload=/usr/local/puppet/puppet-2.7.0.tar.gz \ > > --installer-answers=/usr/local/puppet/agent.txt \ > > --puppetagent-certname=ip-10-224-122-211.ec2.internal \ > > --login root \ > > --debug \ > > --keyfile /usr/local/puppet/lalit.ppk \ > > ec2-54-242-140-98.compute-1.amazonaws.com > notice: Waiting for SSH response ... > info: Executing remote command ... > debug: Command: date > err: not a private key (/usr/local/puppet/lalit.ppk) > err: Try 'puppet help node install' for usage > > Using same ppk file, i am able to login to agent node using ssh/putty > client.I also tried using private dns instead of public dns but no success. > Can anybody help. > > Regards, > Lalit. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/FO0Eq4V5gXcJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.