Peter Moore
2018-10-04 04:21:40 UTC
I am trying to use Fabric instead of Ansible to deploy scripts to a number
of hosts. I found out that user ssh keys are not copied. Instead host based
authentication is being used (ie host keys are copied from
/etc/ssh/ssh_host_rsa_key.pub to remote /etc/ssh/authorized_keys) and
Paramiko is failing with this auth method. Ansible does support this
method though OpenSSH and will fall back to Paramiko if that is not
working.
Is there a way to instantiate a Connection from fabric using another way ?
Thanks in advance
Pete
of hosts. I found out that user ssh keys are not copied. Instead host based
authentication is being used (ie host keys are copied from
/etc/ssh/ssh_host_rsa_key.pub to remote /etc/ssh/authorized_keys) and
Paramiko is failing with this auth method. Ansible does support this
method though OpenSSH and will fall back to Paramiko if that is not
working.
Is there a way to instantiate a Connection from fabric using another way ?
Thanks in advance
Pete