Closed Thread Icon

Topic awaiting preservation: unix shell (nubie question) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12455" title="Pages that link to Topic awaiting preservation: unix shell (nubie question)" rel="nofollow" >Topic awaiting preservation: unix shell (nubie question)\

 
Author Thread
Gweilo
Bipolar (III) Inmate

From: switzerland
Insane since: Sep 2002

posted posted 09-30-2002 17:33

hi,
I wanted to start learning perl and wanted to test-run my first script. I uploaded it on /cgi-local/ and in the tutorial it says I have to edit the accessability, well, the problem is, how do I connect to Unix shell? (I don't even know if my server has one )
I know that the server doesn't support Telnet.

another problem I encountered was when I wanted to password-protect a folder. I added the code to the ".htaccess" file (worked fine up to now I have to enter the following

code:
htpasswd -c /full/path/.htpasswd adam


-> http://www.xav.com/scripts/help/passwd.html // here's the tutorial how to do it

I've got a CGI-LOCAL folder, so I should be able to access the unix shell, or not?

thanks for your help

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 09-30-2002 17:36

if it doesnt support telnet, it maybe supports ssh(secure shell). its like telnet only more secure.
ask your host about it (host, username, password)

you still need an ssh client to connect. search on google for "ssh client" or "putty" which i prefer.

with the ssh client, connect to your server using the hostname, username and password.

go into the cgi-local folder using the cd and pwd commands.

and there execute your perl script, like you are used to or it is said in the tutorial.

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 09-30-2002 17:44

Many hosts don't allow shell access. But this isn't a big deal your ftp client should have CHMOD capabilites.

Don't know what you are using as an ftp client but usually when you have uploaded the file try right clicking on it and see if there is a "CHMOD" option. If not let us know what ftp proggie you are using and someone should be able to tell you how to do it.



.:[ Never resist a perfect moment ]:.

Piper
Paranoid (IV) Inmate

From: California
Insane since: Jun 2000

posted posted 09-30-2002 20:22

Hi Gweilo,

If your host doesn't allow Telnet or SSH you might want to look at something like FileMan from Gossamer-threads.com: http://www.gossamer-threads.com/scripts/fileman/ . It has a command fetaute, among others, that will allow you to run shell commands from a browser. If you do use it or a program like it make sure that you password protect the directory that it is on with .htaccess. I would ask your host about SSH to start.

Regards,
Charlie

Gweilo
Bipolar (III) Inmate

From: switzerland
Insane since: Sep 2002

posted posted 10-01-2002 19:25

Well, I'm a bit confused now. I asked my host, if they supported SSH, and he answered, that SSL (Secure Socket Layer) is only supported for higher account types. now, what is the diffrence between SSH and SSL? Is it the same?


@bitdamaged: the ability in my FTP proggy to edit unix file flag (CHMOD) works fine
@Piper: I installed Fileman. do I have to password protect the folder if fileman.cgi is already in the cgi-local folder (or was it a mistake to install it there)?


bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 10-01-2002 19:32

SSH is basically an application that uses SSL encryption for it's security. SSL is used in other things as well.



.:[ Never resist a perfect moment ]:.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 10-01-2002 19:57

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Gweilo
Bipolar (III) Inmate

From: switzerland
Insane since: Sep 2002

posted posted 10-01-2002 20:59

I'm using LeechFTP.

@Piper: I managed to run fileman, thanks

[This message has been edited by Gweilo (edited 10-01-2002).]

« BackwardsOnwards »

Show Forum Drop Down Menu