# ZR-CSAPI key changes every time the software restarts

**URL:** <https://devforum.zoom.us/t/zr-csapi-key-changes-every-time-the-software-restarts/27005>\
**Category:** API and Webhooks\
**Created:** [August 13, 2020, 6:32am UTC](https://devforum.zoom.us/t/zr-csapi-key-changes-every-time-the-software-restarts/27005 "2020-08-13T06:32:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexander.zarubkin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexander.zarubkin/32/5296_2.png) [@alexander.zarubkin](https://devforum.zoom.us/u/alexander.zarubkin)\
**Post date:** [August 13, 2020, 6:32am UTC](https://devforum.zoom.us/t/zr-csapi-key-changes-every-time-the-software-restarts/27005/1 "2020-08-13T06:32:47Z")

</div>

When I connect to Zoom Rooms software via ZR-CSAPI, the host key is saved to `.ssh/known_hosts` file. So far so good. But whenever the Zoom Rooms software is restarted and I reconnect to it, I get the following warning from my ssh client:

```auto
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:YztcJt9KtxdpnT0ETmf4R4lxLKMQR7NO51By2hDr3N0.
Please contact your system administrator.
Add correct host key in /home/pi/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/pi/.ssh/known_hosts:1
  remove with:
  ssh-keygen -f "/home/pi/.ssh/known_hosts" -R "[192.168.1.35]:2244"
RSA host key for [192.168.1.35]:2244 has changed and you have requested strict checking.
Host key verification failed.

```

Please make the host keys permanent to avoid false warnings.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 13, 2020, 7:13pm UTC](https://devforum.zoom.us/t/zr-csapi-key-changes-every-time-the-software-restarts/27005/2 "2020-08-13T19:13:52Z")

</div>

Hey @alexander.zarubkin,

I have asked our Zoom Room Engineers to investigate this. I will get back to you with updates. (ZOOM-186718)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![alexander.zarubkin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexander.zarubkin/32/5296_2.png) [@alexander.zarubkin](https://devforum.zoom.us/u/alexander.zarubkin)\
**Post date:** [August 13, 2020, 10:09pm UTC](https://devforum.zoom.us/t/zr-csapi-key-changes-every-time-the-software-restarts/27005/3 "2020-08-13T22:09:53Z")

</div>

> [@tommy](#):
>
> ZOOM-186718

Where can I track the status of the request based on this id? Or is the bugtracker for internal usage only?

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [August 14, 2020, 2:39pm UTC](https://devforum.zoom.us/t/zr-csapi-key-changes-every-time-the-software-restarts/27005/4 "2020-08-14T14:39:00Z")

</div>

Hey @alexander.zarubkin, that’s an internal tracking tag we put here so we can follow up 🙂

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 17, 2020, 4:37pm UTC](https://devforum.zoom.us/t/zr-csapi-key-changes-every-time-the-software-restarts/27005/5 "2020-08-17T16:37:02Z")

</div>

Hey @alexander.zarubkin,

After speaking with engineering, the current design is to regenerate the host key whenever the system restart.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![alexander.zarubkin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexander.zarubkin/32/5296_2.png) [@alexander.zarubkin](https://devforum.zoom.us/u/alexander.zarubkin)\
**Post date:** [August 17, 2020, 6:51pm UTC](https://devforum.zoom.us/t/zr-csapi-key-changes-every-time-the-software-restarts/27005/6 "2020-08-17T18:51:27Z")

</div>

Hi @tommy, thanks for the response! By system restart do you mean the reboot of the PC, or the restart of the Zoom Rooms software?

And what is the rationale behind this decision? As you can see, it leads to warnings in ssh client, which is annoying. Does regeneration of the host keys make up for that by fixing some other problem?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 19, 2020, 5:43pm UTC](https://devforum.zoom.us/t/zr-csapi-key-changes-every-time-the-software-restarts/27005/7 "2020-08-19T17:43:56Z")

</div>

Hey @alexander.zarubkin,

It is when the software restarts. We made this change due to a bug in the installation package.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 19, 2020, 3:44am UTC](https://devforum.zoom.us/t/zr-csapi-key-changes-every-time-the-software-restarts/27005/8 "2020-09-19T03:44:04Z")

</div>

Closed on September 19, 2020, 3:44am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
