SOLVED SSH - disable encryptions "none" and "aes128-cbc"

DD4711

Contributor
Joined
Nov 19, 2018
Messages
102
Hello,

I just pentested my FreeNAS installation and found some SSH vulnerabilities I want to fix. I want to disable two options in SSH configs:
- disable none
- disable aes128-cb

I tried to uncomment the two lines in /usr/local/etc/ssh/sshd_config but after an SSH restart this file is overwritten with the standard options.

Can someone please guide me how to edit this permanently? There are "extra options" in SSH service of WebGUI where I will have to edit these options for sure. Are those options read at last so the two options
  • NoneEnabled yes
  • Ciphers +aes128-cbc
will be overwritten?

How do I have to enter the options there?
  • NoneEnabled no
  • Ciphers -aes128-cbc
?

Thanks a lot for your help!
 

DD4711

Contributor
Joined
Nov 19, 2018
Messages
102
I added
Code:
NoneEnabled no
Ciphers -aes128-cbc

to the extra options in SSH Server options.
The pentest is now OK.
 
Top