OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: alone_k1 on September 05, 2018, 05:43:16 am

Title: disabling list of ciphers supported by sshd
Post by: alone_k1 on September 05, 2018, 05:43:16 am
hi, how can i disable and enable some of the ciphers that are supported by sshd ?
i edit this file:
vim /etc/ssh/sshd_config

and then restart the sshd
service openssh onerestart

and check for supported list of ciphers :
sshd -T | grep ciphers

but nothing changes , how i can change list of supported ciphers?
i asked it somewhere else in this forum too , im in a very hurry , can anyone help me ?
Title: Re: disabling list of ciphers supported by sshd
Post by: Evil_Sense on September 05, 2018, 10:57:26 am
The sshd_config gets generated, you'll find the template here:

/usr/local/etc/inc/plugins.inc.d/openssh.inc

Be aware that the file gets overwritten after an update/upgrade