• caglararli@hotmail.com
  • 05386281520

Are there any negative consequences if you change your ssh config for a host with `UpdateHostKeys no`?

Çağlar Arlı      -    6 Views

Are there any negative consequences if you change your ssh config for a host with `UpdateHostKeys no`?

I recently came across a question on stackoverflow.com regarding gitlab.com and ssh config. The solution apparently is to update your ssh config with the following:

Host gitlab.com
    UpdateHostKeys no

Unfortunately the author of the top/only answer did not explain anything about if there were negative security implications. Also unfortunately when I read the man page for ssh_config section on UpdateHostKeys I was not able to deduce whether there was negative security implications.

Are there any negative consequences if you change your ssh config for a host with UpdateHostKeys no?

p.s. maybe changing it to ask is "better" (but i'm not sure that would even work)?