To force a specific encryption algorithm (cipher) to be used by sshd (ssh server)

Start...Run... c:\cygwin\setup.exe  add a package "mc: Midnight Commander" (editor and shell util.)

Pop a Cygwin (black) windows by double clicking the cygwin icon

(1) cd   /etc

(2) chmod 777 sshd_config  (need to change file permission before editing)

(3) mc  Midnight commander starts, select sshd_config, Edit (hit F4 function key)

(4) add a line to indicate your preference. Strongest preference first, comma separated.
Ciphers  blowfish-cbc,aes128-cbc,3des-cbc

(5) save file (hit F2 function key)

(6) chmod 644 sshd_config  (change file permission back to original state)

(7) net stop sshd 

(8) net start sshd

(9) man sshd_config to show different Ciphers that are available in your sshd package
(letter q to end)

You can issue Ciphers directive to ssh by editing /etc/ssh_config

Close