# Change default SSH protocol for connection

**URL:** <https://forum.ansible.com/t/change-default-ssh-protocol-for-connection/32107>\
**Category:** Ansible Developer\
**Created:** [January 31, 2020, 9:56am UTC](https://forum.ansible.com/t/change-default-ssh-protocol-for-connection/32107 "2020-01-31T09:56:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prabha](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@Prabha](https://forum.ansible.com/u/Prabha)\
**Post date:** [January 31, 2020, 9:56am UTC](https://forum.ansible.com/t/change-default-ssh-protocol-for-connection/32107/1 "2020-01-31T09:56:45Z")

</div>

Hello Everyone!

Just wanted to know like is there anyway to change default SSH protocol used by Ansible for connection. I am thinking it would be great if we can utilize any protocols like HTTPS or something.

I am having some security concerns because of SSH authentication mechanism.

Thanks in Advance.

Cheers!  
Prabha.

---

<div class="post-metadata">

**Author:** ![Andreas\_Harpfer](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Andreas\_Harpfer](https://forum.ansible.com/u/Andreas_Harpfer)\
**Post date:** [January 31, 2020, 11:36am UTC](https://forum.ansible.com/t/change-default-ssh-protocol-for-connection/32107/2 "2020-01-31T11:36:30Z")

</div>

SSH is defninitely not less secure than HTTPS if done right. And it has  
the advantage that it's typically already there.

However, the Ansible connection mechanism is pluggable and you might want  
to have a look at the connection plugins documentation at

&nbsp;&nbsp;&nbsp;[https://docs.ansible.com/ansible/latest/plugins/connection.html](https://docs.ansible.com/ansible/latest/plugins/connection.html)

if there's something that fit's your needs. I strongly advise against  
trying to write your own connection plugin unless you are a security  
expert and know what you are doing.

Cheers  
-Andi
