I'm a bit newer to cygwin and sshd, and I want to configure sshd to allow encrypted SFTP file transferring.
From what I understand, I need to find some sort of sshd_config example (which for some reason, I can't find a good one on the internet [it's as if no one uses cygwin or sshd]).
I enable aes256 on protocol 2 of ssh on the sshd_config of the SERVER. I make an RSA key 2048 bit keylength on the CLIENT, then transfer the public-key "pub" file, into "authorized_keys" of the SERVER.
What options in SSHD_Config need to be set? I think I need these options, but what else do I need?:
Protocol 2
Compression yes
Ciphers aes256-ctr,aes192-ctr,aes128-ctr,arcfour256,aes128-cbc
MACs hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
PasswordAuthentication yes
I think I also need "RSAAuthentication", I'm not certain.
I want to transfer files to my business partners and simply ask them to hand me their public-key and make sure their files are protected and not sent plain-text.
Does anyone have a proper guide to do all this and an example sshd_config?