LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-08-2003, 06:34 AM   #1
fuelinjection
Member
 
Registered: Nov 2003
Location: County Durham, England
Distribution: Fedora
Posts: 238

Rep: Reputation: 30
Remote Terminal?


I want to be able to put a website on my server, which will allow me to use the terminal on the server.

i.e. I will have a folder in the www root called /remote and when I get to work I could goto www.sheppardweb.co.uk/remote/ this would then give me some sort of telnet type screen thing, which will allow me to pass commands to the server.

How do I set the server up to do this, and does anyone know of maybe a php package I can put in the /remote directory to allow me to connect to the server.

Or is there anyway I can use telnet from work to do this?
 
Old 12-08-2003, 06:48 AM   #2
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
You could easily have a web interface that allowed you to type in commands and have them executed on the server. However, there are a few security issues with doing that :
1. You need to password protect the area in Apache, but Apache password protection is not as strong as Linux password protection.
2. Since the webserver runs as user nobody (or other unprivelaged user) you couldn't run any commands that required root authority. If you allowed root commands to be run, that's an even bigger security hole.

I know that HP-UX has a solution that allows telnet-via-web-browser access to servers; maybe there is a similar solution on Linux.
 
Old 12-08-2003, 06:59 AM   #3
fuelinjection
Member
 
Registered: Nov 2003
Location: County Durham, England
Distribution: Fedora
Posts: 238

Original Poster
Rep: Reputation: 30
I have just found that we can use telnet at work, how would I setup the linux box to accept telnet connections, and what port will this usually be on?
 
Old 12-08-2003, 07:13 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Do NOT use telnet. Use SSH (Secure Shell) instead - it has already pretty much dethroned telnet as the standard remote access application. SSH uses, unlike telnet, encryption so passwords and other sensitive information cannot be sniffed across the network.

Your machine is problaby set up to allow incoming SSH connections already. Try accessing it using ssh user@host. So I access my server as ssh hw@blaha.com. The IP address works as well as the hostname so use that if the computer doesn't have a usable DNS name.

You may have to configure the built-in firewall on the server to allow incoming SSH connections in case you're running one. Most distributions provide easy-to-use graphical or non-graphical programs to configure the firewall software.


Håkan
 
Old 12-08-2003, 07:19 AM   #5
fuelinjection
Member
 
Registered: Nov 2003
Location: County Durham, England
Distribution: Fedora
Posts: 238

Original Poster
Rep: Reputation: 30
Will this work from a windows xp machine?
 
Old 12-08-2003, 10:12 AM   #6
fuelinjection
Member
 
Registered: Nov 2003
Location: County Durham, England
Distribution: Fedora
Posts: 238

Original Poster
Rep: Reputation: 30
thanks, I downloaded prossh and connected fine, cheers
 
Old 12-08-2003, 11:25 AM   #7
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I don't know if Prossh is free or not, but I use PuTTy to SSH when I'm on Windows boxes (that don't have Cygwin installed). PuTTy is free and works well.
Here's a direct download link.

Håkan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote terminal from windows Fredstar General 1 01-18-2005 03:50 PM
Remote Terminal Linux? tuxq Linux - Software 1 12-17-2004 07:31 AM
SSH Remote Terminal gauge73 Linux - General 2 01-29-2003 10:01 AM
Remote Terminal gauge73 Linux - Newbie 4 01-28-2003 02:23 PM
remote terminal Suse 8.0 zuessh Linux - General 5 12-21-2002 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration