- 
To install the OpenSSH on the Windows machine, follow these tutorials:
 - 
Install Git Bash on the Windows machine:
 - 
Configure the Windows machine to use Git Bash as default shell to SSH connections:
- https://github.com/PowerShell/Win32-OpenSSH/wiki/DefaultShell
 - On powershell, run this command:
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Program Files\Git\bin\bash.exe" -PropertyType String -Force 
 - 
Install the rsync package on the Git Bash:
- https://blog.tiger-workshop.com/add-rsync-to-git-bash-for-windows/
 - Download the rysnc package from the repository, uncompress it and move it to the Git Bash folder at 
C:\Program Files\Git\usr\bin. 
 - 
To avoid the need for passwords on these connections, configure the SSH to make the authentication through public key certificate.
- https://www.ssh.com/ssh/copy-id
 - On the source machine, copy the SSH key to the Windows machine: 
ssh -i ~/.ssh/mykey user@host. - If necessery, create the SSH keys: 
ssh-keygen 
 
        
          
            Forked from fmartins-andre/enable-rsync-through-ssh-on-windows.md
          
        
    
          Created
          December 8, 2023 10:09 
        
      - 
      
 - 
        
Save nickname55/68c9fe7b254b7569c08a48c259340f65 to your computer and use it in GitHub Desktop.  
    How to enable rsync through ssh on a Windows machine
  
        
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment