Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support access to ssh remotes #16

Open
yarikoptic opened this issue Oct 19, 2021 · 0 comments
Open

support access to ssh remotes #16

yarikoptic opened this issue Oct 19, 2021 · 0 comments

Comments

@yarikoptic
Copy link
Member

  • based on information from annex info and git remotes we can discover which known to annex ssh remotes are already enabled (well, added as git remotes)
    • so for any annexed key we can pretty much mint the "ssh URL" on remote location (well -- paying attention on either it is bare or regular repo -- would matter which annex keystore lead directories naming is used... we dealt with that recently, forgot where... uff)
  • we could use datalad/support/sshconnector.py:SSHManager().get_connection(..) to establish the connection to remote host (with mux socket)
    • probably issue warning if that SSHManager is not MultiplexSSHConnection and not bother then supporting ssh "urls"
  • there is sftp support in fsspec: https://filesystem-spec.readthedocs.io/en/latest/_modules/fsspec/implementations/sftp.html .

WDYT @jwodder ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant