Handling Multiple SSH Host Keys in Batch Mode

Advertisement

Guest

Handling Multiple SSH Host Keys in Batch Mode

Good day

I have to connect to a host in batch mode. This works fine but problems start
as the host presents different SSH Host Keys. I've noticed two different keys
which breaks the batch mode as I don't know how to update the cache automatically.
While I can find many references about why one should not do so I can't find any hint
about how to accept any new key presented on this specific IP.

Is there a way to answer "YES" to the question about the new host key?

Thanks in advance
Chris

Reply with quote

Advertisement

Guest

Re: Handling Multiple SSH Host Keys in Batch Mode

Thanks for your attention.

The host is actually 2 active hosts behind a VIP. It's a bank so I doubt that we can get that changed.

Any chances to force the acceptance of two keys?

Thanks
Chris

Reply with quote

martin
Site Admin
martin avatar

Re: Handling Multiple SSH Host Keys in Batch Mode

Any chances to force the acceptance of two keys?
It is on TODO list :-)

Reply with quote

Advertisement

irritated user
Guest

Re: Handling Multiple SSH Host Keys in Batch Mode

what's the answer to this?
i guess you've already chucked away your to do list!

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Handling Multiple SSH Host Keys in Batch Mode

irritated user wrote:

what's the answer to this?
i guess you've already chucked away your to do list!
I have implemented this yesterday. It will be included into the next release.

Reply with quote

Advertisement

You can post new topics in this forum