Warning: the DSA host key for '' differs from the key for the IP
I have to connect to two different URLs, which share the same IP address. The first one I connected to worked fine, and still does. The second one give the following message:
Warning: the DSA host key for 'URL' differs from the key for the IP address 'xxx.xxx.xxx.xxx'
The system asks whether i wish to proceed, I answer yes, and it connects just fine.
However, i have automated SFTP process that will login in the same manner... SSH? So the first one I tried works fine, but the second fails because I would need to supply a "Yes" during the automated process.
My question is, can I add the second URL to the key that currently has the first URL and corresponding IP?
Kindest regards to all,