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

s     Nov 30 12:54PM 2017 CLI

I'm running the following:

duplicacy -v -d -log init -e cloud s 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 s 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.

gchen    Nov 30 5:37PM 2017

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

s    Dec 1 2:03AM 2017

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

s    Dec 1 2:05AM 2017

goroutine 1 [running]:
runtime/debug.Stack(0xab, 0x0, 0x0)
    /usr/local/go/src/runtime/debug/stack.go:24 +0x79
    /usr/local/go/src/runtime/debug/stack.go:16 +0x22
    /Users/chgang/zincbox/go/src/ +0x13d
panic(0xca0180, 0xc420308000)
    /usr/local/go/src/runtime/panic.go:489 +0x2cf, 0xd510e2, 0xe, 0xd6a8ab, 0x29, 0xc420203518, 0x2, 0x2)
    /Users/chgang/zincbox/go/src/ +0x1bc, 0xe, 0xd6a8ab, 0x29, 0xc420203518, 0x2, 0x2)
    /Users/chgang/zincbox/go/src/ +0x73, 0x7, 0x7ffcaabd6ded, 0x5, 0x7ffcaabd6df3, 0x3e, 0x1, 0x0, 0xd000000000000001, 0x1, ...)
    /Users/chgang/zincbox/go/src/ +0xdc7
main.configRepository(0xc420178fc0, 0xc420178f01)
    /Users/chgang/zincbox/go/src/ +0x4b8
    /Users/chgang/zincbox/go/src/ +0x30, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0xd78254, 0x4f, 0x0, ...)
    /Users/chgang/zincbox/go/src/ +0x8bc*App).Run(0xc420178d80, 0xc420072000, 0x9, 0x9, 0x0, 0x0)
    /Users/chgang/zincbox/go/src/ +0x8e3
    /Users/chgang/zincbox/go/src/ +0x4edb

gchen    Dec 2 9:28PM 2017

The aes128-cbc cipher seems to cause HiDrive to close the connection. I removed it from the list and it is now working:

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

s    Dec 4 12:00PM 2017

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

gchen    Dec 4 3:13PM 2017

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

s    Dec 5 12:18PM 2017


gchen    Dec 5 3:40PM 2017

Here you go:

Copyright © Acrosync LLC 2016-2017