SCRDS - Server Not Fully Loading?
@LordRalex Got it to work! Reinstalled the node not too sure what was wrong, second time round was the charm.
Now i have issues with SFTP denying connections - I've tried updating scales to no avail.
Appreciate the feedback.
What is in the SSH logs?
SFTP - it goes connection to "ip" refused
The server rejected SFTP connection but listens for FTP
-- Not too sure whats going on!
SFTP is handled purely by your existing SSH service. I do not see your connections occurring there at all. You are connecting using the node's IP + the SSH port, correct?
Yes that's correct, we're using the ip, the 22 port as well as well as the correct information for the user who has the server.
Stigin last edited by Stigin
@LordRalex - It's interesting, After installing the auto deploy script on the node, it denies SSH putty connections from root as well?
No, the only part of SSH that we touch is to add a Match rule for the scalesuser group (which is what allows for the SFTP jails). If you cannot use root now, then it means that someone also changed that file, but never restarted the SSH service so it would apply.
I've tried this on 4 fresh instances from Vultr, After a reboot they all start denying SSH connections and this is without touching anything apart from running the auto-deploy script.
We do not touch any of those settings, so I am finding it hard to believe we are doing it.
Can you provide the sshd config before and after you do an install? I suspect Vultr may be providing something that's doing it.
Here you go! As requested, I have confirmed after the install and a reboot SSH is rejected!
@Stigin that link is dead for me
Okay, so the configs are not changing what I would expect, so it's acting like the config is now bad, which is not good.
Can you get the SSH logs from when you start the service?
I restarted the SSH service and SCP'd the auth.log out to another vps to download it.
Can you provide the service startup logs as well? Want to know if there's something failing after we do the install.
Does SSH just say connection refused or is it just denying the root user?
Hi, Connection says refused for any user including root.
Are you able to tell me the specific log file you are looking for?
Then it means the service stopped running. The specific file would depend on the distro of Linux you are using.
Okay - Ubuntu 14.04
If you can edit that file, you can apply a fix
Line 183 of your config is actually bad (and it appears we never added a newline when we append, so surprised yours was the first to fail there)
PasswordAuthentication yesMatch group scalesuser
It should be
Match group scalesuser
I can confirm this has fixed it.
I appreciate your replies and extended troubleshooting :)