Yelp/kafka-utils

Unable to use SSH Keys to log into servers

Asara opened this issue · 3 comments

Asara commented

I have my ssh key distributed to all my kafka servers, but kafka-utils asks for a password regardless.

It's happened to me a couple of times, but then if I type in a random password it connects properly using the ssh key. Did you enable ssh agent forwarding? Or you are running this from where you have access to the private key?

Asara commented

I am trying to script around Kafka Utils so typing random stuff/echoing random stuff seems silly, but I am willing to do it if there is no other option.

Running from where I have access to the private key.

Asara commented

Ignore. It works when setting ssh-agent.

Thanks!