I have .ssh/config file in this format:
Host ABC Hostname example.com HostKeyAlias ABC CheckHostIP yes StrictHostKeyChecking no Port 1001 User userABC Host CDE Hostname example.com HostKeyAlias CDE CheckHostIP yes StrictHostKeyChecking no Port 1002 User userCDE
The hostname is the same but based on PORT# the firewall redirects the access to the correct predefined host. Everything is working except:
- Warning: Permanently added 'ABC,example.com' (RSA) to the list of known hosts. this happens every single time
- known_hosts files is keep on growing with duplicate entries
I don't mind the Warning itself, but I don't want the known_hosts file to grow with redundant entries!