fabric.contrib.files.contains not work properly while check existance ssh key in the ~/.ssh/authorized_keys
Please look at the bug report fabric/fabric#728
Fabric use quotes for build egrep command. Egrep not properly process relative path with tilda
"~myuser/.ssh/authorized_keys"
Because of this, many times the ssh key is copied to the authorized_keys
Can you build path another way?
fabric.contrib.files.contains not work properly while check existance ssh key in the ~/.ssh/authorized_keys
Please look at the bug report fabric/fabric#728
Fabric use quotes for build egrep command. Egrep not properly process relative path with tilda
"~myuser/.ssh/authorized_keys"
Because of this, many times the ssh key is copied to the authorized_keys
Can you build path another way?