Skip to content

Can't disable folder creation for control path #393

@wd

Description

@wd

I saw this PR: #183 . If I understand correctly, the creation will only happen after I enabled the ControlMasterMkdir.

These are the debug messages

DEBUG   Proxying
DEBUG   Creating control path   {"path": "/Users/wd/.ssh/cm"}
DEBUG   Trying gateways {"gateways": "bastion-staging"}
2021/01/25 17:11:56 bastion-staging
DEBUG   getHostByName direct matching   {"name": "bastion-staging"}
DEBUG   Creating control path   {"path": "/Users/wd/.ssh/cm/172.x.x.x"}
DEBUG   Using gateway   {"gateway": "bastion-staging", "command": "ssh -W 172.x.x.x:22 %name"}
DEBUG   ProxyCommand    {"command": "ssh -W 172.x.x.x:22 bastion-staging"}

My settings in defaults, I only have this ControlPath set in defaults section.

defaults:
    ControlMaster: auto
    ControlPath: ~/.ssh/cm/%h-%p-%r.sock
    IdentitiesOnly: yes
    ControlPersist: yes
    UseKeychain: yes
    AddKeysToAgent: yes
    ServerAliveInterval: 30

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions