fsspec / fsspec/filesystem_spec
read .ssh/config for parameters
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 490
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 38
Description
Hi! Just got a feature idea that might be a nice-to-have maybe?: supporting taking .ssh/config for parameters
i.e. just like we do sftp nickname in console, maybe we could connect as fsspec.filesystem('sftp', host='nickname') instead of fsspec.filesystem('sftp', host='XXX.XXX.XXX.XXX', port=XXX, username='XXX', password='XXX'), so we can have less hard coding and won't be saving passwords in plain text.
I raised a question on StackOverflow being unsure before, and now checking out after receiving a comment.
https://stackoverflow.com/questions/65050701/can-python-package-fsspec-read-ssh-config?noredirect=1#comment115916870_65050701
Great thanks for the effort for the great package!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the SFTP filesystem handles host, port, username, and password parameters, then determine where an SSH config nickname could be resolved. Done means fsspec.filesystem('sftp', host='nickname') can use .ssh/config parameters without requiring hard-coded connection details or plain-text passwords.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100