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

Mike-E's Avatar

Mike-E

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-E on 27 Nov, 2019 09:22 AM

    Mike-E'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-E 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

07 Jul, 2020 06:21 PM
07 Jul, 2020 03:15 PM
05 Jul, 2020 02:33 AM
03 Jul, 2020 07:29 PM
03 Jul, 2020 03:53 AM

 

02 Jul, 2020 09:09 PM
02 Jul, 2020 03:24 PM
01 Jul, 2020 01:12 PM
30 Jun, 2020 04:26 PM
25 Jun, 2020 05:54 PM
24 Jun, 2020 08:11 AM