HelioHost Posted September 1, 2017 Posted September 1, 2017 Hello,I have been trying to create a SSH session Using to PUTTY service from mylocal windows computer to my domain name on your service ('theolite.heliohost.org')please I will like to know how I can fix this as it seems the hostingservice is refusing to allow such connection.I need to do so since I'm trying to run a python script that I have on yourservice remotely. I'm badly in need to do this. I need help THEOPHILUS
Krydos Posted September 1, 2017 Posted September 1, 2017 Your account is on a shared server. That means that there are thousands of other accounts on the same server as you. SSH access is a security risk on a shared server. We do offer SFTP service though. If you need to run a command you can do so using a cron through cpanel. If you need to run a python script you can do so by putting it in the cgi-bin directory and calling it with your browser. If you describe what you're trying to do in more detail we can undoubtedly come up with a solution for you.
HelioHost Posted September 1, 2017 Author Posted September 1, 2017 Hello,Thanks for the quick reply, let me explain what I'm trying to do:In the cpanel of my account I have a directory called scripts that Icreated in the file manager in the scripts directory I have a file called"echo-server.py" just a very simple python server script to test how pythonsockets capabilities look like I was going to use a SSH session to run the python script then connect tothe server script with a client script that Is on my local computer. Andnow you've said because your service is shared hosting I can't run theserver script. Can you carefully explain how I can go about to achieve myaim I'm a novice in these things, just trying to understand how these thingswork. On 1 Sep 2017 2:49 a.m., "Heliohost Support" wrote: > Your account is on a shared server. That means that there are thousands of> other accounts on the same server as you. SSH access is a security risk on> a shared server. If you need to run a command you can do so using a cron> through cpanel. If you need to run a python script you can do so by putting> it in the cgi-bin directory and calling it with your browser. If you> describe what you're trying to do in more detail we can undoubtedly come up> with a solution for you.>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic)506>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
Krydos Posted September 2, 2017 Posted September 2, 2017 The problem that you're going to probably encounter with sockets is our firewall is going to block all of the ports except the ones that already have services on them like port 80 has apache. What exactly are you trying to do by connecting remotely to a socket on the server?
HelioHost Posted September 2, 2017 Author Posted September 2, 2017 I just want to send some strings and then get a reply from the serverscript. On 2 Sep 2017 12:11 p.m., "Heliohost Support" wrote: > The problem that you're going to probably encounter with sockets is our> firewall is going to block all of the ports except the ones that already> have services on them like port 80 has apache. What exactly are you trying> to do by connecting remotely to a socket on the server?>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic)506>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
Krydos Posted September 2, 2017 Posted September 2, 2017 You can do that with cgi. Just put your python script in the cgi-bin and send your strings POST or GET to the url, and the server will send the output of the python script back.
HelioHost Posted September 2, 2017 Author Posted September 2, 2017 Thanks, I will do that On 2 Sep 2017 2:54 p.m., "Heliohost Support" wrote: > You can do that with cgi. Just put your python script in the cgi-bin and> send your strings POST or GET to the url, and the server will send the> output of the python script back.>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic)506>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
Recommended Posts