{"id":25823388,"url":"https://github.com/saada/docker-sshfs-proxy","last_synced_at":"2026-02-16T10:37:30.312Z","repository":{"id":146317376,"uuid":"98739709","full_name":"saada/docker-sshfs-proxy","owner":"saada","description":"Experiment with streaming files using SSH, SFTP, SSHFS protocols over two ssh hops via proxy simulated in Docker from macOS clients","archived":false,"fork":false,"pushed_at":"2017-07-29T15:21:47.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T17:47:17.419Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saada.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-29T15:01:26.000Z","updated_at":"2018-02-14T01:05:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"7fafc093-ee67-491a-ad97-dbd076237e3d","html_url":"https://github.com/saada/docker-sshfs-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saada/docker-sshfs-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saada%2Fdocker-sshfs-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saada%2Fdocker-sshfs-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saada%2Fdocker-sshfs-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saada%2Fdocker-sshfs-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saada","download_url":"https://codeload.github.com/saada/docker-sshfs-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saada%2Fdocker-sshfs-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278479619,"owners_count":25993891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-28T11:54:06.255Z","updated_at":"2025-10-05T16:15:12.449Z","avatar_url":"https://github.com/saada.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker SSHFS Proxy\n\nExperiment with streaming files using SSH, SFTP, SSHFS protocols over two ssh hops via proxy simulated in Docker from macOS clients.\nTo run the experiment, we simulate two ssh servers on the same network.\n\n## Setup\n\nClone this repo, then run `docker-compose up`.\n\nYou will effectively run two containers as `ssh-proxy =\u003e ssh-server`.\n\nUpdate `~/.ssh/config` to setup ssh proxy configuration to use the `ssh-proxy` running on `localhost:2222` as a proxy.\n\n```ssh\nHost proxied-ssh-server\n  HostName ssh-server\n  User root\n  IdentityFile ~/HackHackHack/Experiments/sshfs-proxy/sshserverkey\n  ProxyCommand ssh -i ~/HackHackHack/Experiments/sshfs-proxy/sshproxykey root@localhost -p 2222 nc %h %p\n```\n\nNow we want to connect `macos =\u003e ssh-proxy =\u003e ssh-server`.\n\n```sh\n# install sshfs\nbrew cask install osxfuse\nbrew install sshfs\n# mount remote directory\nmkdir /tmp/mounted_fs\nsshfs proxied-ssh-server:/tmp/mounted_fs /tmp/mounted_fs\n# open finder on mounted drive\nopen /tmp/mounted_fs\n# ssh into the machine\nssh proxied-ssh-server\n# sftp\nsftp proxied-ssh-server\n# edit text file\nssh proxied-ssh-server cat /tmp/mounted_fs/testfile | open -f -a /Applications/Visual\\ Studio\\ Code.app\n# open pdf file\nssh proxied-ssh-server cat /tmp/mounted_fs/test.pdf | open -f -a /Applications/Preview.app\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaada%2Fdocker-sshfs-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaada%2Fdocker-sshfs-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaada%2Fdocker-sshfs-proxy/lists"}