Cannot connect via SSH
- This topic is empty.
-
AuthorPosts
-
January 8, 2024 at 9:44 am #11044DanielGuest
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?
January 8, 2024 at 11:29 am #11047BrandonGuestwho is the cloud provider?
are you sure installation completed?
did you reboot yet?
January 8, 2024 at 11:30 am #11048SharonGuestWhat SSH client and operating system are you using? Do you have the exact error message
January 9, 2024 at 11:14 am #11064BobbyGuestI have reinstalled slickstack and everything is ok
January 9, 2024 at 7:50 pm #11067MaryGuestI 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
February 12, 2024 at 3:29 pm #12089BruceGuest>> reinstalling Slickstack
pretty much fixes everything, in my experience
February 13, 2024 at 2:15 pm #12124RuthGuestpretty much fixes everything, in my experience
Does reinstalling SlickStack reset SSH configs?
Like if I manually set config to passwordless and only SSH key.February 14, 2024 at 9:45 am #12148PamelaGuest@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
February 14, 2024 at 6:31 pm #12160BrittanyGuestIt 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"
February 15, 2024 at 10:33 am #12188DylanGuestBrittany 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
January 10, 2025 at 6:24 am #27302January 12, 2025 at 8:06 am #27305JoshuaGuestalso don’t login with
root
user, apparently SlickStack disabled it during installation -
AuthorPosts