Is there a way we can configure a cluster of ssh server? I am trying to keep 5 ssh server behind a load balancer or create a cluster out of it. then later to stateful failover if anyone of the backend goes down.
I would really appreciate on suggestion on any way to achieve it. TIA
SSH / Telnet Software
Last Comment
David Favor
8/22/2022 - Mon
David Favor
You asked, "Is there a way we can configure a cluster of ssh server?"
There is no way to... create a cluster of stateful sshd instances, as this violates then entire premise of sshd... which specifically tracks all sorts of key/IP relationships, which is why you get a passphrase prompt anytime you attempt moving to a new machine down a string of sshd connections.
Mention why.
Describe what you're trying to accomplish or what problem you're trying to solve.
I just want user not to get warning or MITM error when they get the same host key from other IP as my domain myhost.com will resolve to multiple IP addresses and when someone login they every time they may get new IP with same hostkey.
David Favor
The only way you can resolve this is by ignoring these errors, as keys pin to IPs.
All your ssh commands must include the ignore option...
There is no way to... create a cluster of stateful sshd instances, as this violates then entire premise of sshd... which specifically tracks all sorts of key/IP relationships, which is why you get a passphrase prompt anytime you attempt moving to a new machine down a string of sshd connections.
Mention why.
Describe what you're trying to accomplish or what problem you're trying to solve.