Want more timely Centmin Mod News Updates?
Become a Member

Sysadmin I changed option 16 in CMM

Discussion in 'System Administration' started by Itworx4me, Nov 26, 2023.

  1. Itworx4me

    Itworx4me Active Member

    290
    27
    28
    Mar 14, 2017
    Ratings:
    +47
    Local Time:
    2:51 AM
    Nginx 1.25.X
    MariaDB 10.6.X
    I can't remember my port number for option 16. I changed it from the default to what number it suggested. Now I can't remember that number. How do I get that port number back?

    Thanks,
    Itworx4me

     
  2. quicksalad

    quicksalad Member

    228
    13
    18
    May 31, 2015
    Ratings:
    +20
    Local Time:
    3:21 PM
  3. eva2000

    eva2000 Administrator Staff Member

    52,787
    12,080
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,607
    Local Time:
    7:51 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Do you currently have SSH access to server to be able to run commands ? If you can SSH login, you can find the changed SSH port via command
    Code (Text):
    grep '^Port' /etc/ssh/sshd_config
    

    and all centmin.sh menu runs are auto logged to /root/centminlogs directory so you will find centmin.sh menu option 16 log at /root/centminlogs/centminmod_${SCRIPT_VERSION}_${DT}_menu-option16-sshdport-change.log

    You can use below command to find exact log name
    Code (Text):
    find /root/centminlogs -name "*_menu-option16-sshdport-change.log"
    

    and can inspect that for changed SSH port number

    Your SSH client app might already have a profile you setup to SSH login with and you would of adjusted SSH port there too.
     
  4. Itworx4me

    Itworx4me Active Member

    290
    27
    28
    Mar 14, 2017
    Ratings:
    +47
    Local Time:
    2:51 AM
    Nginx 1.25.X
    MariaDB 10.6.X
    @eva2000 is there documentation on how to setup secureCRT using centmin?
     
  5. eva2000

    eva2000 Administrator Staff Member

    52,787
    12,080
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,607
    Local Time:
    7:51 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. eva2000

    eva2000 Administrator Staff Member

    52,787
    12,080
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,607
    Local Time:
    7:51 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Quick google search. Though I'd use session profiles rather than quick connect

     
  7. eva2000

    eva2000 Administrator Staff Member

    52,787
    12,080
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,607
    Local Time:
    7:51 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Also don't forget SecureCRT app has it's own help documentation

    upload_2023-11-26_13-17-30.png

    upload_2023-11-26_13-19-15.png
     
  8. Itworx4me

    Itworx4me Active Member

    290
    27
    28
    Mar 14, 2017
    Ratings:
    +47
    Local Time:
    2:51 AM
    Nginx 1.25.X
    MariaDB 10.6.X
    Screenshot 2023-11-25 191808.png

    Its been a very long time setting up CRT. What protocol should I be selecting?

    Thanks,
    Itworx4me
     
  9. eva2000

    eva2000 Administrator Staff Member

    52,787
    12,080
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,607
    Local Time:
    7:51 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Always SSH2

    upload_2023-11-26_13-21-32.png
     
  10. Itworx4me

    Itworx4me Active Member

    290
    27
    28
    Mar 14, 2017
    Ratings:
    +47
    Local Time:
    2:51 AM
    Nginx 1.25.X
    MariaDB 10.6.X
    @eva2000 Can you point me in the direction of where the logs are for a vhost creation. Looking for ftp login for a vhost site.

    Thanks,
    Itworx4me
     
  11. eva2000

    eva2000 Administrator Staff Member

    52,787
    12,080
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,607
    Local Time:
    7:51 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    all centmin.sh menu option runs get logged to /root/centminlogs see https://community.centminmod.com/th...-00beta01-test-installation.24233/#post-97652

    you can also list all files in /root/centminlog and grep filter just for nginx_addvhost keyword and list in reverse timestamp so most recent at bottom of list
    Code (Text):
    ls -lAhrt /root/centminlogs | grep 'nginx_addvhost'
    
     
  12. Itworx4me

    Itworx4me Active Member

    290
    27
    28
    Mar 14, 2017
    Ratings:
    +47
    Local Time:
    2:51 AM
    Nginx 1.25.X
    MariaDB 10.6.X