Want to subscribe to topics you're interested in?
Become a Member

Can not login VPS through PuTTy

Discussion in 'Introductions' started by Phillip Phan, Nov 11, 2022.

Tags:
  1. Phillip Phan

    Phillip Phan New Member

    1
    0
    1
    Oct 6, 2022
    Saigon
    Ratings:
    +0
    Local Time:
    9:59 AM
    Nginx 1.21.6
    MariaDB 10.3.36
    I am first coming to set Centminmod. At first I could login to my VPS through PuTTy even I change port to 2222.
    After about a month I can not login through Putty anymore that show me ''Network error: connection time out"
    I could login through HTML5 Console and changed port then tried Putty again but still not work.


    Could you please tell me what to fix?!
    Thanks you in advanced!
     
  2. eva2000

    eva2000 Administrator Staff Member

    49,587
    11,382
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,686
    Local Time:
    12:59 PM
    Nginx 1.21.x
    MariaDB 10.x
    You should post further questions in a new thread at https://community.centminmod.com/forums/other-centmin-mod-installed-software.22/

    how did you change SSH port for root user login? via centmin.sh menu option 16 ? That option will ask you for default port first i.e. 22 and then ask for new port number you want to change to. centmin.sh menu option 16 will then do 2 tasks change SSHD port + CSF Firewall update to remove default 22 port from whitelisting and adding new defined SSHD default port to CSF Firewall.

    Now if you didn't change SSHD default port using centmin.sh menu option 16, then you're missing CSF Firewall changes. Easiest way is to change default SSHD port back to port 22 and then run centmin.sh menu option 16 so that CSF Firewall port changes are accounted for too.
     
  3. eva2000

    eva2000 Administrator Staff Member

    49,587
    11,382
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,686
    Local Time:
    12:59 PM
    Nginx 1.21.x
    MariaDB 10.x
    welcome @Phillip Phan to Centmin Mod Community.

    There are 6 steps to learning more about Centmin Mod ;) And to modifying config files and manage services more quickly, check out Centmin Mod Command Shortcuts. Recently relaunched official Centmin Mod Blog at https://blog.centminmod.com/ also have more advanced tips and tutorials as well :D

    You might want to try the 124.00stable and/or 130.00beta01 versions.

    Might also be interested in reading up on latest LEMP stack comparison benchmarks tagged here.

    Threads you might want to participate in ;)

    Quick Tips


    Threads & Info To Bookmark



    Threads to read, pages to bookmark and threads to watch/subscribe to get to know Centmin Mod would include:

    Centmin Mod Insights Forum



    The Centmin Mod Insights forums digs deeper into the inner workings of Centmin Mod so some useful threads in this forum include:

    Security Related Developments



    A few security related developments you might be interested reading about

    Premium Membership


    Centmin Mod Donations



    You now can show your love and support for Centmin Mod via
     
  4. Tracy Perry

    Tracy Perry Active Member

    262
    108
    43
    Aug 24, 2014
    Texas
    Ratings:
    +192
    Local Time:
    8:59 PM
    1.21.6
    MariaDB 10.3.36
    This is going to be the most likely issue.
    It bit me in the ass the first time I used CentMin as I was used to manually editing the SSHD config file myself. :rolleyes:
     
  5. eva2000

    eva2000 Administrator Staff Member

    49,587
    11,382
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,686
    Local Time:
    12:59 PM
    Nginx 1.21.x
    MariaDB 10.x