Skip to content

Tildes are not expanded from .ssh/config #198

@JonathanDoughty

Description

@JonathanDoughty

Tildes used in .ssh/config for specifying IdentifyFile paths relative to the HOME directory are not expanded by keychain as part of all_host_identities. The --confallhosts flag then will not find those keys because tilde expansion will not have occurred when the $keyf variable is expanded as part of the if [ -f "$keyf" ]; then check.

I've created a patch that corrects this that I submitted as a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions