Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

File contention with multiple SSH sessions and --gen-key-pair #178

Open
klauern opened this issue Dec 3, 2020 · 0 comments
Open

File contention with multiple SSH sessions and --gen-key-pair #178

klauern opened this issue Dec 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@klauern
Copy link

klauern commented Dec 3, 2020

Related to #175, we also have some contention with settings that use the --gen-key-pair flag and a path:

Match User ubuntu* Host i-*
    IdentityFile ~/.sigil/%h/temp_key
    IdentitiesOnly yes
    ForwardAgent yes
    ProxyCommand sh -c 'sigil ssh --port %p --gen-key-pair --gen-key-dir "${HOME}"/.sigil/%h/ --os-user %r %h'

In connecting to multiple hosts at once, similar to Chef, Ansible, tmux-cssh, et al, we get connection errors:

no such identity: /Users/me/.sigil/i-11111111111111111/temp_key: No such file or directory

I'm not sure how to configure around this, as the ~/.ssh/config uses a static temp_key path, and I would need this file to be unique every time sigil is run.

@klauern klauern changed the title File contention with multiple SSH sessions File contention with multiple SSH sessions and --gen-key-pair Dec 3, 2020
@danmx danmx added the enhancement New feature or request label Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants