python - Fabric -- connecting to hosts in ~/.ssh/config still prompts for passphrase -
i'm making use of fabric.user_ssh_config = true, , ssh config looks like:
host    server_vm1.domain.com         identityfile    ~/.ssh/id_rsa_uiuc         identitiesonly  yes         user t2 however, prompted passphrase every time connect machine (like it's looking @ standard id_rsa file, does require passphrase):
[server_vm1.domain.com] passphrase private key:
this happens when try fabric.api.put('ds.tar', '/root/test'). user t2 not same local user (from i'm running fabric script). can ssh terminal directly fine, no prompts.
 
 
  
Comments
Post a Comment