Date
1 - 2 of 2
bosh depoy - Issues with ssh
Riaan Labuschagne <zapmanandroid@...>
Hi,
I am trying to deploy to AWS and everything goes fine until the " Waiting for the agent on VM.." step has to happen. I have tried to login to the VM with my pvt key (ssh -i bosh.pem vcap(a)10.0.0.6) but that also fails. I mounted the volume of the bosh VM on another VM to check the /home/vcap/.ssh/authorized_key file and it seems the public key in the authorized_keys file differs from the pvt key I extract from bosh.pem. I just cant seem to get past the "Waiting for the agent on VM.." step. Is the public vcap file sipposed to be the public key form the bosh.pem file? (I cant see where else it comes from) Regards. ============================ My deploy output================== Started deploying Waiting for the agent on VM 'i-c5aa9563'... Failed (00:00:30) Deleting VM 'i-c5aa9563'... Finished (00:00:36) Creating VM for instance 'bosh/0' from stemcell 'ami-89c1f7fe light'... Finished (00:00:43) Waiting for the agent on VM 'i-24a79882' to be ready... Failed (00:02:33) Waiting for the agent on VM 'i-24a79882' to be ready... Failed (00:02:33) Failed deploying (00:04:29) Stopping registry... Finished (00:00:00) Cleaning up rendered CPI jobs... Finished (00:00:00) Command 'deploy' failed: Deploying: Creating instance 'bosh/0': Waiting until instance is ready: Starting SSH tunnel: Failed to connect to remote server: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
|
|
Dmitriy Kalinin
bosh.pem should contain private key. machines will be provisioned with
toggle quoted messageShow quoted text
associated public key. did you use aws generated key from the console? also make sure you are using correct key pair name.
On Sun, Oct 11, 2015 at 11:39 AM, Riaan Labuschagne <zapmanandroid(a)gmail.com
wrote: Hi,
|
|