elevatecore Posted 2 hours ago Posted 2 hours ago Hi, I just signed up for hosting and checking for SSH Terminal access, but the dashboard shows it is forbidden. How to enable? Thanks Kumar Quote
KazVee Posted 2 hours ago Posted 2 hours ago Hello! On hosting accounts, secure shell access (SSH) is disabled for security reasons. However, it is possible to run jailed shell commands using Plesk's Scheduled Tasks (cron jobs) feature. In many cases, SSH is not actually necessary. If you let us know what command you want to run, and we'll be happy to investigate other ways to accomplish the same task without SSH. If you absolutely require SSH access, you will need a VPS. We offer a range of VPS plans, and a 10% discount when you pay for 6 months upfront. You can view the VPS plans we offer here: https://heliohost.org/vps/ Quote
elevatecore Posted 2 hours ago Author Posted 2 hours ago (edited) I wanted to know the details of the server, installed software version, disk space usage in my space, etc. like uname -os ldd --version python --version node -v du -sh * du -sh .[^.]* Edited 1 hour ago by elevatecore Quote
KazVee Posted 1 hour ago Posted 1 hour ago You can view how much space (out of the 1000 MB) is being used by checking inside Plesk > Statistics from the left side menu. Please note: Plesk doesn't recalculate in real time, so there's a delay between uploading and the statistics reflecting what's in your account. Node versions available on the Tommy server are: 23, 22, 21, 20, 18, 16. You can view them by logging into Plesk and going to: Websites & Domains > Get Started > Node.js button > Click on the Node.js Version value to view other versions of node available. A word of caution about Node: Node apps often require a lot of server resources, and exceeding the account load limits will cause your user account to be suspended for high server usage. You can keep an eye on your account load here: https://heliohost.org/dashboard/load/ I'll escalate this thread to the root admins for your OS-related questions. Quote
elevatecore Posted 1 hour ago Author Posted 1 hour ago Thanks for the info. This helps to some extent. I don't want run node app as service on any dedicated port. I want to execute a short-lived javascript like node getuser.js under (php shell_exec / popen) but I see my php configuration: disable_functions:opcache_get_status,exec,passthru,proc_nice,proc_open,shell_exec,system,popen,pcntl_exec I don't want to run any service forever, just use node based code to run per request and exit. How can I do that? Thanks in advance. Quote
KazVee Posted 1 hour ago Posted 1 hour ago PHP functions such as proc_open(), exec(), popen(), etc. are disabled on our shared hosting servers for security reasons. If you need these, you will need to get a VPS. Can you provide more details about why you want to run these per-request scripts, and what you hope to accomplish with them? This will help us determine if there's an alternative method you can use that would be permitted on the shared hosting servers. Quote
elevatecore Posted 55 minutes ago Author Posted 55 minutes ago I want to generate some mock data for my demo/workshop using node (javascipt) json. I don't want to run a dedicated node+express server wasting server resources like memory/cpu. These mock api calls will be called only during a workshop/demo otherwise there is no need of this service. So I have written a simple javascript to generate random json payload based on the request type. that I want to execute through simple php-node.php router where I will use shell_exec to run the node script on demand and it ends the request. Want to keep it simple and efficient on-demand execution instead of running a service forever on a different port. that causes CORS issue as well. Do you have a better alternate solution? Quote
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.