Strato highdrive sftp fails during init with Failed to load the SFTP storage

I’m running the following:

duplicacy -v -d -log init -e cloud sftp://user@sftp.hidrive.strato.com//users/username/
2017-11-30 18:33:41.330 DEBUG PASSWORD_ENV_VAR Reading the environment variable DUPLICACY_SSH_KEY_FILE
2017-11-30 18:33:41.685 ERROR STORAGE_CREATE Failed to load the SFTP storage at sftp://user@sftp.hidrive.strato.com//users/user/: ssh: handshake failed: EOF

Any idea what could go wrong? According to tcpdump, it fails after client sends first encrypted package over ssh after key exchange etc. Server terminates connection.

Can you use a different SFTP client to connect to see if they support SFTP?

yes they do. It’s working fine with sshfs or filezilla or sftp.

goroutine 1 [running]:
runtime/debug.Stack(0xab, 0x0, 0x0)
	/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
	/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/gilbertchen/duplicacy/src.CatchLogException()
	/Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/src/duplicacy_log.go:177 +0x13d
panic(0xca0180, 0xc420308000)
	/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/gilbertchen/duplicacy/src.logf(0x2, 0xd510e2, 0xe, 0xd6a8ab, 0x29, 0xc420203518, 0x2, 0x2)
	/Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/src/duplicacy_log.go:160 +0x1bc
github.com/gilbertchen/duplicacy/src.LOG_ERROR(0xd510e2, 0xe, 0xd6a8ab, 0x29, 0xc420203518, 0x2, 0x2)
	/Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/src/duplicacy_log.go:98 +0x73
github.com/gilbertchen/duplicacy/src.CreateStorage(0xd4a4bd, 0x7, 0x7ffcaabd6ded, 0x5, 0x7ffcaabd6df3, 0x3e, 0x1, 0x0, 0xd000000000000001, 0x1, ...)
	/Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/src/duplicacy_storage.go:407 +0xdc7
main.configRepository(0xc420178fc0, 0xc420178f01)
	/Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/duplicacy/duplicacy_main.go:288 +0x4b8
main.initRepository(0xc420178fc0)
	/Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/duplicacy/duplicacy_main.go:191 +0x30
github.com/gilbertchen/cli.Command.Run(0xd47770, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0xd78254, 0x4f, 0x0, ...)
	/Users/chgang/zincbox/go/src/github.com/gilbertchen/cli/command.go:160 +0x8bc
github.com/gilbertchen/cli.(*App).Run(0xc420178d80, 0xc420072000, 0x9, 0x9, 0x0, 0x0)
	/Users/chgang/zincbox/go/src/github.com/gilbertchen/cli/app.go:179 +0x8e3
main.main()
	/Users/chgang/zincbox/go/src/github.com/gilbertchen/duplicacy/duplicacy/duplicacy_main.go:1777 +0x4edb

The aes128-cbc cipher seems to cause HiDrive to close the connection. I removed it from the list and it is now working: https://github.com/gilbertchen/duplicacy/commit/9dbf517e8a24391bc1cb3cafbf17c84741a15277

You need to build from the latest source on the github branch. Please let me know if you need a pre-built binary.

awesome. A linux binary would be great. Thank you!!

which linux binary do you need, arm, x64, or i386?

x64.

Here you go: https://acrosync.com/duplicacy/duplicacy_linux_x64_2.1.0