Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8507355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:50:55+00:00 2026-06-11T02:50:55+00:00

I am in the middle of creating a game server control panel and i

  • 0

I am in the middle of creating a game server control panel and i have a few issues.

The control panel needs to basically issue commands to a remote Linux server, starting and stopping processes, i have the commands written for this, however the problem is.

  1. I am not sure whether to just SSH in using a PHP library and then issue the commands OR have remote files on the server to deal with this. Which would be most efficient?

  2. Is it even safe running SSH commands from PHP, using the root account? Even if commands that will be sent are hard coded.

  3. If the remote Linux servers would need remote files, what language would this be written in and what functions are best?

If you have any other ideas of the best way around this, please share, i will be very grateful.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T02:50:56+00:00Added an answer on June 11, 2026 at 2:50 am
    1. that is possible but only done in special occasions. Usually the simpler way is to use some form of reqeust protocol, like for example http and thus evoke predefined routines (scripts) on the servers side. What protocols does the server speak?
    2. NEVER DO THAT ! Usually that would mean to grant root access inside ssh which is unsafe. you could also use something like sudo or suid bits, unsafe again. And you would even top that by send the commands, since that would mean your setup would ahve to acceppt any command it is given and execute it under root rights. Not a good idea…
    3. Use any language that is available on the server and that you feel comfortable with. Does it really matter what language you use to express what you want to say? No, the content matters. Maybe the coice also depends on what type of access you chose. Some languages offer themselves more easily in certain situations.

    In short: without more detailed informations only a vague answer is possible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a table which I want to have a top part, middle
I'm in the middle of creating a game-simulator for a project. The game consist
I am in the middle of creating a simple/quick translator that just translated selected
I'm in the middle of creating a fairly large flex application, and over time,
I'm in the middle of building an application but found myself too easily creating
I'm in the middle of creating a Drupal site. It already has lots of
I am in the middle of creating an HtmlHelper method to generate code for
Basically I'm creating a forest fire program that depends on the wind / dryness
I am in the middle of creating a CCleaner like application for unix based/styled
I'm in the middle of creating a html to pdf converter using the wkhtmltopdf

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.