close

February 2024 only! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

Cannot connect via SSH

  • This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #11044 Reply
    Daniel
    Guest

    I have just finished a first time Slickstack installation.
    After rebooting the server, I can no longer connect via SSH.
    The connection is dropped instantly.

    I am using IP as ssh host
    I am using the sudo user.
    I have not restricted SSH connection via IP.

    The only thing is that I have not yet pointed my domain to the server, as it is hosted elsewhere, so the SSL creation failed during slickstack installation, but i am not sure if this is relevant

    Any ideas?

    #11047 Reply
    Brandon
    Guest

    who is the cloud provider?

    are you sure installation completed?

    did you reboot yet?

    #11048 Reply
    Sharon
    Guest

    What SSH client and operating system are you using? Do you have the exact error message

    #11064 Reply
    Bobby
    Guest

    I have reinstalled slickstack and everything is ok

    #11067 Reply
    Mary
    Guest

    I have reinstalled slickstack and everything is ok

    okay great. most likely installation didn’t complete properly. or in some cases, you might have used the wrong SSH password.

    in rare cases users sometimes name their sudo user the same as SFTP user and that will lock you out, make sure those 2 users have different names

    #12089 Reply
    Bruce
    Guest

    >> reinstalling Slickstack

    pretty much fixes everything, in my experience

    #12124 Reply
    Ruth
    Guest

    pretty much fixes everything, in my experience

    Does reinstalling SlickStack reset SSH configs?
    Like if I manually set config to passwordless and only SSH key.

    #12148 Reply
    Pamela
    Guest

    @Ruth

    Yes reinstalling SlickStack will overwriting absolutely all module config files, including Nginx, PHP-FPM, MySQL, etc.

    SlickStack is not designed to be messed with beyond ss-config

    #12160 Reply
    Brittany
    Guest

    It looks like ss-config file can be used to disable password login and enable SSH key. So reinstalling SlickStack would not affect what was described above. This is from ss-config-sample.txt.

    ## using SSH keys is only recommended for advanced users who know what they are doing ##
    ## be sure to copy your public key hash into: /var/www/auth/authorized_keys ##
    ## SSH_KEYS = [false|true] if enabled then SSH password logins will be disabled ##
    SSH_KEYS="@SSH_KEYS"

    #12188 Reply
    Dylan
    Guest

    Brittany is correct. But depends if @Ruth customized their SSH config via ss-config or did it manually, because if maully those changed would be overwritten.

    Best to start new threads for any new questions thx

    #12318 Reply
    Kyle
    Guest

    Hey there! Ready to take your website to the next level? Let’s make your site more user-friendly with personalized content and smoother navigation. Embrace automation for a seamless online experience that keeps visitors coming back for more. Let’s start now! https://www.activecampaign.com/?_r=T7Q5L36L

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: Cannot connect via SSH

Thanks to our generous sponsors for their support!