git : Warning: Permanently added the RSA host key for IP address to the list of known hosts.

Mike-EEE's Avatar

Mike-EEE

27 Nov, 2019 08:55 AM

I'm getting something similar to this issue:
https://help.appveyor.com/discussions/problems/4480-permanently-added-the-rsa-host-key-for-ip-address-19230252123-to-the-list-of-known-hosts-permission-denied-publickey

And there is this reference:
> You can see SSH deployment key on General tab of project settings.

But I do not see any place for that in our project settings. Is this a private repository only sort of thing?

I am wanting to hide this warning from our output as it does not seem to impact the execution of the script and we're able to deploy as expected. Thanks in advance for any guidance you can provide to do so.

  1. 1 Posted by Mike-EEE on 27 Nov, 2019 09:22 AM

    Mike-EEE's Avatar

    Looks like adding this to the `appveyor.yml` file does the trick:

    ```
    cache:
      - '%USERPROFILE%\.ssh\known_hosts'
    ```

    Warnings are generated for the first time the IP address is encountered but it seems to save it to this file for future reference, leading to no warnings thereafter.

  2. Mike-EEE closed this discussion on 27 Nov, 2019 09:25 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

05 Dec, 2019 09:12 PM
04 Dec, 2019 07:46 PM
04 Dec, 2019 12:01 AM
04 Dec, 2019 12:00 AM
03 Dec, 2019 11:00 PM