Skip to content

ssh key many times copied to the authorized_keys #36

Description

@falkolab

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions