connect to server using ssh key
as the title says, i want to install mods on my dedicated server using SMM. But i dont have login with passwords open on my server for security reasons. I only connect via ssh-key, but i dont see an option for that in the manager.
5 Replies
I don't believe this has been added yet, but it is planned
well, then i need to enable password auth for the duration of mod updates and disable it again after
I don't use a Satisfactory server, but SSH tunneling works for almost everything. You'd need to keep a ssh session running between the client and server and use the "-L" tunneling option on that ssh session. You'd tell the client to connect to localhost instead of to the server.
Another solution might be using an ssh-agent on the client. The ssh-agent environment variables would need to be set before running the client software.
Another solution. It's been a few years, but IIRC a "Match" feature was added to sshd_config to let you control which users are prompted for passwords and which are not. See also "ForceCommand".
Are you running windows or linux (on your PC, not the server)?
If linux, another option is a ssh filesystem mount, though depending on what you use for that it might have some issues with sync times, which could cause SMM to think that stuff failed (I think I remember someone mentioning that)
i use Windows on my Machine and Ubuntu on the server
i think i'll settle with enabling Password auth, when i need to update mods and disabling again after.
shouldn't be that often anyway