Issue
I config the following hostname in .ssh/config file
Host termux
Hostname 192.168.43.1
Port 8022
How could add more hostnames to the same host.
Host termux
Hostname 192.168.43.1, 192.168.43. 12, 192.168.43.5
Port 8022
Solution
@Mad Physicist made a good point. You can't actually add more than one hostname to the same host. You could try, but it would just use the first one anyways.
You only have one option that I can think of. If you want to say what kind of functionality you want out of this, I may be able to give a better answer.
Instead of doing it the way you did in the example, you could make each hostname correspond to a different host. Maybe with numbering. Such as termux1, termux2, etc.
Answered By - MegaEmailman