SMM Can't Connect to Dedicated Server via SFTP
Hi all...
I have a dedicated server running in AMP. I can connect to the sftp using an FTP client from my desktop PC no problems. However SMM (v3.03) is not connecting properly. I can add the server using Simple Mode however if I try to do anything like install or enable mods etc I get the "Something went wrong" "failed to remove old mods: failed to delete mod directory: failed to delete path: file does not exist" error.
I generated the Debug and I can see the following line:
"WARN","msg":"failed to get remote server metadata","error":"failed to get game version: failed to validate installation: failed to connect to ssh server: dial tcp [ip:port]: connectex: No connection could be made because the target machine actively refused it.","path":"sftp://user:pass@**/"}
I have changed my password so there are no special characters and as I said I can connect to the dedicated server fine with a desktop client.
I've spent a few hours trying to work through this by I can't figure out why SMM won't connect.
Debug attached.
Solution:Jump to solution
I seem to have fixed this myself. I deleted all mod folders from server (and steam client on my desktop). I removed the server details from SMM and all mods from SMM. I then started the whole process from scratch and it worked. So there must have been something strange that was stopping it from working that starting over seems to have resolved.
5 Replies
Automated responses for Baggy (244404523722866689)
Key Details for SMMDebug-2025-07-06-05-42-34.zip
sftp_servermustbestopped
You should shut down the dedicated server executable before trying to install mods on it.
Some additional info that I have discovered... I can see in the logs that I successfully login when attaching to the server with SSM. I did have a password with a special character. I have changed that but I still get the Something when wrong error. It looks like the plugins are getting installed but there are no files being installed in the Binaries folder. For example SML/Binaries/Linux is empty. I have attached another Debug after my password change.
-# Responding to
Key Details for SMMDebug-2025-07-06-08-25-36.zip
triggered by @BaggyDoes your SFTP account have permissions to write and delete files?
This definitely seems odd
Solution
I seem to have fixed this myself. I deleted all mod folders from server (and steam client on my desktop). I removed the server details from SMM and all mods from SMM. I then started the whole process from scratch and it worked. So there must have been something strange that was stopping it from working that starting over seems to have resolved.