Jump to content

Recommended Posts

Posted

Hello,

I have been trying to create a SSH session Using to PUTTY service from my

local 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 hosting

service is refusing to allow such connection.

I need to do so since I'm trying to run a python script that I have on your

service remotely. I'm badly in need to do this. I need help

 

THEOPHILUS

Posted

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.

Posted

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 I

created 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 python

sockets capabilities look like

 

I was going to use a SSH session to run the python script then connect to

the server script with a client script that Is on my local computer. And

now you've said because your service is shared hosting I can't run the

server script. Can you carefully explain how I can go about to achieve my

aim

 

I'm a novice in these things, just trying to understand how these things

work.

 

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/

>

>

Posted

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?

Posted

I just want to send some strings and then get a reply from the server

script.

 

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/

>

>

Posted

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.

Posted

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/

>

>

Guest
This topic is now closed to further replies.
×
×
  • Create New...