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

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -