# Test/dev server ssh config changed to more secure defaults

**URL:** <https://talk.openmrs.org/t/test-dev-server-ssh-config-changed-to-more-secure-defaults/7832>\
**Category:** Development\
**Tags:** itsm\
**Created:** [August 31, 2016, 7:04am UTC](https://talk.openmrs.org/t/test-dev-server-ssh-config-changed-to-more-secure-defaults/7832 "2016-08-31T07:04:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![r0bby](https://talk.openmrs.org/user_avatar/talk.openmrs.org/r0bby/32/6479_2.png) [@r0bby](https://talk.openmrs.org/u/r0bby)\
**Post date:** [August 31, 2016, 7:04am UTC](https://talk.openmrs.org/t/test-dev-server-ssh-config-changed-to-more-secure-defaults/7832/1 "2016-08-31T07:04:44Z")

</div>

The SSH server keys have changed.

I am updating Bamboo’s keys manually, but you should probably just nuke that entry, your ssh client will tell you the line in your known\_hosts file to remove, and just remove it that line.

if you’re on OS X/Linux, I found [this](https://www.chainsawonatireswing.com/2012/04/06/an-easier-quicker-way-to-edit-the-known_hosts-file-when-an-ssh-server-changes-its-host-key) which may ease your pain.

Sorry for the inconvenience.

---

<div class="post-metadata">

**Author:** ![r0bby](https://talk.openmrs.org/user_avatar/talk.openmrs.org/r0bby/32/6479_2.png) [@r0bby](https://talk.openmrs.org/u/r0bby)\
**Post date:** [August 31, 2016, 8:05am UTC](https://talk.openmrs.org/t/test-dev-server-ssh-config-changed-to-more-secure-defaults/7832/2 "2016-08-31T08:05:15Z")

</div>

# Update

If you have any failed builds when you try to deploy, let me know as soon as it happens. I fixed the known\_hosts file for the bamboo-agents. This should only affect the test boxes, we already fixed the production/staging servers.

This was necessary to make things more secure 🔒

---

<div class="post-metadata">

**Author:** ![raff](https://talk.openmrs.org/user_avatar/talk.openmrs.org/raff/32/11894_2.png) [@raff](https://talk.openmrs.org/u/raff)\
**Post date:** [August 31, 2016, 1:38pm UTC](https://talk.openmrs.org/t/test-dev-server-ssh-config-changed-to-more-secure-defaults/7832/3 "2016-08-31T13:38:20Z")

</div>

[https://ci.openmrs.org/browse/REFAPP-OMODDISTRO-SCPMT-5027/log](https://ci.openmrs.org/browse/REFAPP-OMODDISTRO-SCPMT-5027/log)

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [August 31, 2016, 1:51pm UTC](https://talk.openmrs.org/t/test-dev-server-ssh-config-changed-to-more-secure-defaults/7832/4 "2016-08-31T13:51:43Z")

</div>

> [@r0bby](#):
>
> The SSH server keys have changed

For which servers?

---

<div class="post-metadata">

**Author:** ![r0bby](https://talk.openmrs.org/user_avatar/talk.openmrs.org/r0bby/32/6479_2.png) [@r0bby](https://talk.openmrs.org/u/r0bby)\
**Post date:** [August 31, 2016, 7:48pm UTC](https://talk.openmrs.org/t/test-dev-server-ssh-config-changed-to-more-secure-defaults/7832/5 "2016-08-31T19:48:17Z")

</div>

All of them. I’ll address this. It’s a stronger key. Your keys are the same. The actual server host key for sshd is what im talking about

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [August 31, 2016, 7:59pm UTC](https://talk.openmrs.org/t/test-dev-server-ssh-config-changed-to-more-secure-defaults/7832/6 "2016-08-31T19:59:25Z")

</div>

So to be clear, every single OpenMRS server’s ssh key has changed, including devtest02\*, uat\*, int\*, etc?

So we should remove \*.openmrs.org from our .ssh known hosts on our own client machines.

---

<div class="post-metadata">

**Author:** ![r0bby](https://talk.openmrs.org/user_avatar/talk.openmrs.org/r0bby/32/6479_2.png) [@r0bby](https://talk.openmrs.org/u/r0bby)\
**Post date:** [August 31, 2016, 8:02pm UTC](https://talk.openmrs.org/t/test-dev-server-ssh-config-changed-to-more-secure-defaults/7832/7 "2016-08-31T20:02:19Z")

</div>

Yeah – it might be easiest – I tried to not do it – we did it for all staging/prod servers and things settled down. Test servers is a result of running the ansible playbook which I forgot had this change to add more people with global access to all servers.
