Get the most out of your Centmin Mod LEMP stack
Become a Member

Beta Branch update centmin.sh menu option 16 sshd port change feature

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 7, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    54,358
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    7:42 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    update centmin.sh menu option 16 sshd port change feature

    - centmin.sh menu option 16 to change sshd port defaults now is logged to /root/centminlogs/entminmod_${SCRIPT_VERSION}_${DT}_menu-option16-sshdport-change.log script version and date timestamped logs for troubleshooting purporses
    - update sshdtweaks function to always uncomment #Port entry in /etc/ssh/sshd_config to workaround issues in centmin.sh menu option 16 when a use changes sshd port to an existing in use port, the uncomment port routine isn't triggered so subsequent changes don't work as centmin mod was looking for '#Port 22' text https://community.centminmod.com/threads/changing-ssh-port.15984/#post-68399


    Continue reading...

    123.09beta01 branch