Debugging SSH failures #1573
-
I'm having trouble connecting to the admin container's SSH server. I can connect to the control container and run Is there a way to check that the admin container successfully started? And is there a way to check SSH logs to confirm this isn't a networking issue? (I've double checked that the ingress rules allow this traffic, but you never know.) In other words, how do you debug Bottlerocket when you can't connect to the admin container? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
As far as commands to debug the admin container from the control container, I haven't come up with much.
Some further questions may prove helpful:
My connection command typically looks like this (when I launch with an EC2 key-pair): ssh -i "/somewhere/my-ec2-keypair-private-key.pem" "ec2-user@${INSTANCE_IP}" |
Beta Was this translation helpful? Give feedback.
As far as commands to debug the admin container from the control container, I haven't come up with much.
apiclient -u /settings | jq '."host-containers"'
ssh -vvv
to get more information about the failure.Some further questions may prove helpful:
ec2-user
as your login to the admin container?My connection command typically looks like this (when I launch with an EC2 key-pair):