Change default SSH protocol for connection

9 views
Skip to first unread message

Prabhakar

unread,
Jan 31, 2020, 4:56:45 AM1/31/20
to Ansible Development
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.

Andreas Härpfer

unread,
Jan 31, 2020, 6:38:04 AM1/31/20
to Prabhakar
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

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

Reply all
Reply to author
Forward
0 new messages