Quantcast
Channel: CobianSoft
Viewing all articles
Browse latest Browse all 4265

Cobian Reflector • Re: SFTP Error

$
0
0
That's so helpful, thank you.

Here's my experience is getting Cobian Reflector linked up to Amazon S3.

Follow the instructions in this video to get your S3 bucket set up to allow SFTP connections...

https://www.youtube.com/watch?v=kD-nJCwwNRQ

It's difficult the generate SSH keys that both Amazon S3 and Reflector will accept, here's how I did it...

1. Download and open Puttygen (puttygen.com) to generate your keys.
2. Use the "Key" menu at the top and select SSH-2 RSA.
3. Generate a key
4. Click "Conversions" in the top menu
5. Choose "Export OpenSSH key", this will save your private key file to your PC, use the extension .ppk, for example privatekey.ppk
6. Click "Save public key", save your key file with the extension .pub, for example publickey.pub
7. Amazon S3 will not accept the public key in this format, so you need to edit it, to do this open your public key (publickey.pub) in Notepad and change it from this...

---- BEGIN SSH2 PUBLIC KEY ----
Comment: "rsa-key-20160402"
AAAAB3NzaC1yc2EAAAABJQAAAgEAiL0jjDdFqK/kYThqKt7THrjABTPWvXmB3URI
...
...
---- END SSH2 PUBLIC KEY ----

to this

ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAA... (with no carriage returns)

Amazon S3 will now accept the key.

Also, make sure that the "Initial Directory" in the SFTP settings in Reflector is the same as the name of the root bucket in S3. For example "/mys3bucket"

Statistics: Posted by kevindunstan — 15 Sep 2023, 11:35



Viewing all articles
Browse latest Browse all 4265

Trending Articles