Rclone SFTP with Windows 10 and msys or "git for windows"?

What is the problem you are having with rclone?

I'm wondering if rclone can use the ssh-agent that comes with "git for windows". I try to run the command ./rclone lsd myRemote: and get back 2019/10/09 20:06:40 Failed to create file system for "myRemote:": couldn't connect to ssh-agent: SSH agent requested but Pageant not running

Do I have to use pageant? Is there no way to use the ssh-agent that came along with git bash?

What is your rclone version (output from rclone version)

rclone v1.49.5-195-ge8b92f48-beta

  • os/arch: windows/amd64
  • go version: go1.13.1

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows 10 64 bit

Which cloud storage system are you using? (eg Google Drive)

SFTP

The command you were trying to run (eg rclone copy /tmp remote:tmp)

./rclone lsd myRemote:

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

2019/10/09 20:06:40 Failed to create file system for "myRemote:": couldn't connect to ssh-agent: SSH agent requested but Pageant not running

The answer to this question is not at the moment. However I made an issue with the upstream library I use in rclone for dealing with ssh agents

Maybe you'd like to work on that issue?

I use git-bash extensively in the CI for rclone and I use it for development and testing on my test VMs .