{"id":19664899,"url":"https://github.com/small-tech/portable-rsync-with-ssh-for-windows","last_synced_at":"2025-11-22T00:02:10.605Z","repository":{"id":117560753,"uuid":"289736411","full_name":"small-tech/portable-rsync-with-ssh-for-windows","owner":"small-tech","description":"Based on github: fdcastel/cygrsync, a portable distribution of rsync with SSH for Windows. Uses the binaries from cygwin. Runs without cygwin installed.","archived":false,"fork":false,"pushed_at":"2020-08-23T17:43:53.000Z","size":4567,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T03:50:04.971Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/small-tech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-08-23T17:40:32.000Z","updated_at":"2024-10-12T03:58:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ada69a4-9340-4d2b-80c7-961d1ab37a40","html_url":"https://github.com/small-tech/portable-rsync-with-ssh-for-windows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/small-tech/portable-rsync-with-ssh-for-windows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/small-tech%2Fportable-rsync-with-ssh-for-windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/small-tech%2Fportable-rsync-with-ssh-for-windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/small-tech%2Fportable-rsync-with-ssh-for-windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/small-tech%2Fportable-rsync-with-ssh-for-windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/small-tech","download_url":"https://codeload.github.com/small-tech/portable-rsync-with-ssh-for-windows/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/small-tech%2Fportable-rsync-with-ssh-for-windows/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285710892,"owners_count":27218827,"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-11-21T02:00:06.175Z","response_time":61,"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":"2024-11-11T16:19:34.691Z","updated_at":"2025-11-22T00:02:10.582Z","avatar_url":"https://github.com/small-tech.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Portable Rsync With SSH For Windows\n\nBased on [github: fdcastel/cygrsync](https://github.com/fdcastel/cygrsync), a portable distribution of rsync with SSH for Windows. Uses the binaries from [cygwin](https://www.cygwin.com/). Runs __without__ cygwin installed.\n\n## Installation\n\n```bash\nnpm install portable-rsync-with-ssh-for-windows\n```\n\n## Usage\n\nWhen run from the `bin/` directory, the `rsync` and `ssh` commands believe that they are running from `/bin/` and that the root is their parent folder.\n\nTo access Windows paths, you must specify them in cygwin format without the `/cygdrive` path prefix (as configured in `etc/fstab`). E.g., `/c/my-folder` points to `C:\\my-folder`. \n\nThe exception is the home folder since `etc/nsswitch.conf` tells them to use your Windows home as the home directory.\n\nBy default, the command will try to use the keys defined in your `\"${env:home}\\.ssh\"` (using your Windows home). __The keys in here must be in Linux format (with `LF` line endings), not Windows format (with `CRLF` line endings).__\n\nThe `ssh` binary that comes with this distribution cannot read keys with Windows line endings and will throw an `invalid format` error while trying to load the key. The OpenSSH version that comes preinstalled on Windows 10, on the other hand, can read keys with Linux line endings properly. So as long as your keys are written out with Linux line endings (e.g., generated from Windows Subsystem for Linux, etc.), then they will work under both Windows and this emulated cygwin rsync.\n\n__Note:__ Node.js always writes out files with `LF` line endings, even on Windows. So if you're generating your keys from Node.js, you should be fine with the default behaviour.\n\n### With Nexe\n\nInclude `node_modules/@small-tech/portable-rsync-with-ssh-for-windows` in your resources.\n\n## Reproducing\n\nThis was created by following the instructions on [github: fdcastel/cygrsync](https://github.com/fdcastel/cygrsync) to create an up-to-date distribution of rsync and SSH from [cygwin](https://www.cygwin.com/).\n\nThe same set of libraries (some of which were newer versions) were copied from the resulting files.\n\n## Current versions\n\nThe current build has the following versions of the commands:\n\n### Rsync\n\nVersion 3.2.0 dev (protocol version 31)\n\n### SSH\n\n  - OpenSSH Version 8.3p1\n  - OpenSSL Version 1.1.1f (31 March, 2020)\n\n(In our testing, this is compatible with what is currently installed on our Linux servers: rsync 3.1.3 protocol version 31 and OpenSSH 8.2p1, OpenSSL 1.1.1f 31 March, 2020.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmall-tech%2Fportable-rsync-with-ssh-for-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmall-tech%2Fportable-rsync-with-ssh-for-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmall-tech%2Fportable-rsync-with-ssh-for-windows/lists"}