tag:help.appveyor.com,2012-11-13:/discussions/problems/34446-bitbucket-ssh-key-refresh-requires-update-to-known_hosts-fileAppVeyor: Discussion 2023-06-01T06:38:18Ztag:help.appveyor.com,2012-11-13:Comment/590272222023-05-26T11:51:24Z2023-05-26T11:51:25ZBitBucket SSH key refresh requires update to known_hosts file<div><p>Hi !</p>
<p>I have the same problem using the Visual Studio 2015 image.<br>
Is there a way around this ?</p></div>Jacobtag:help.appveyor.com,2012-11-13:Comment/590272222023-05-26T15:57:23Z2023-05-26T15:57:23ZBitBucket SSH key refresh requires update to known_hosts file<div><p>Hi Jacob,</p>
<p>We are going to update VS 2015 image next week.</p>
<p>In the meantime you can add this command to <code>appveyor.yml</code> which removes bitbucket.org entries from <code>known_hosts</code>:</p>
<pre>
<code>init:
- ssh-keygen -qR bitbucket.org</code>
</pre>
<p>You don't actually need to change <code>appveyor.yml</code> for every project. Instead you can apply the fix to all projects on "Account -> Global YAML" page.</p>
<p>Alternatively, you can just append missing key to <code>known_hosts</code>:</p>
<pre>
<code>init:
- cmd: echo bitbucket.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIazEu89wgQZ4bqs3d63QSMzYVa0MuJ2e2gKTKqu+UUO >> %USERPROFILE%\.ssh\known_hosts</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/590272222023-05-31T19:33:38Z2023-05-31T19:33:38ZBitBucket SSH key refresh requires update to known_hosts file<div><p>Hi Jacob,</p>
<p>That image has been updated so you should no longer need the command Feodor suggested.<br>
Let us know if you are still having any problems.</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/590272222023-06-01T06:38:17Z2023-06-01T06:38:18ZBitBucket SSH key refresh requires update to known_hosts file<div><p>Thank you!</p>
<p>I will test it, and let you know if there still are problems.</p>
<p>Jacob</p>
<p>Fra: Owen McDonnell <a href="mailto:tender2+d8f4e79cbc@tenderapp.com">tender2+d8f4e79cbc@tenderapp.com</a><br>
Sendt: onsdag 31. mai 2023 21:34<br>
Til: Jacob Støren <a href="mailto:jacob@ecotone.com">jacob@ecotone.com</a><br>
Emne: Re: BitBucket SSH key refresh requires update to known_hosts file [Problems #34446]</p></div>Jacob Støren