close

May 2024 only! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

Cannot connect via SSH

  • This topic is empty.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #11044
    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
    Brandon
    Guest

    who is the cloud provider?

    are you sure installation completed?

    did you reboot yet?

    #11048
    Sharon
    Guest

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

    #11064
    Bobby
    Guest

    I have reinstalled slickstack and everything is ok

    #11067
    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
    Bruce
    Guest

    >> reinstalling Slickstack

    pretty much fixes everything, in my experience

    #12124
    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
    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
    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
    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

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.

Thanks to our generous sponsors for their support!