Skrumpy Posted February 28, 2021 Share Posted February 28, 2021 (edited) Running a game server docker and looking to allow SSH/telnet access (to that docker only) so that we can have a Discord script update a single text file (whitelist to allow game server access). Hopefully there is an easy way to do something like this or similar. Searches haven't really shown much. I'm assuming it is not as simple as adding a TCP port to the container and adding that port to the router? Anyone have any solutions? Edited March 1, 2021 by Skrumpy Quote Link to comment
macfreaker Posted February 28, 2021 Share Posted February 28, 2021 You can do it with following command: docker exec -it "docker name" bashSent from my iPhone using Tapatalk Pro Quote Link to comment
JonathanM Posted February 28, 2021 Share Posted February 28, 2021 2 hours ago, macfreaker said: You can do it with following command: docker exec -it "docker name" bash That presupposes full root access to the server, not just 3 hours ago, Skrumpy said: allow SSH/telnet access (to that docker only) 1 Quote Link to comment
Skrumpy Posted March 1, 2021 Author Share Posted March 1, 2021 9 hours ago, jonathanm said: That presupposes full root access to the server, not just Thanks guys, just used the openssh docker and added the other docker container path as access to that path. Seems to work. Just need to figure out how to add multiple users in openssh docker as it only has variables for a single user. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.