Citrix Netscalers - eekbot/public GitHub Wiki

Modifying Ciphers

cp /etc/sshd_config /nsconfig/sshd_config_orig  -  makes backup file
 
vi /etc/sshd_config  -  enter vi mode
got end & press A  -  insert 1 character
 
kexAlgorithms diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1
MACs [email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512
 
#comment out # UsePrivilegeSeparation no
 
kill -HUP `cat /var/run/sshd.pid`   - kills & restarts ervice
/usr/sbin/sshd -f /etc/sshd_config   -  if busted start service again manually
 
cp /etc/sshd_config /nsconfig/sshd_config  -  copry run start
ls -al /flash/nsconfig/
 
cat /flash/nsconfig/sshd_config