Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a text-based browser available for Linux (CentsOS) which I can use when I SSH to my server. I use CentOS release 5.5. My server do not have graphic interface.

It would be nice if it support JavaScript.

share|improve this question

5 Answers 5

up vote 2 down vote accepted

Elinks which originates from links. It has support for Javascript, tabs, frames, tables...

I also like w3m, but I don't think it supports Javascript.

share|improve this answer

You can try

links http://www.example.com or lynx http://www.example.com

You can also try links -g to put it into "graphics" mode but I don't think this will work over SSH.

share|improve this answer
    
Wow! It's wonderful. But I have small problem. I only can go into href links. I cannot submit form or press <input type="submit" buttons. Is there a way to press buttons or submit forms? –  Dane Nov 23 '10 at 18:53
    
Note that both of these are available in the CentOS base repo, so you just need to yum install them. –  mattdm Nov 23 '10 at 19:00

If you install a X server such as Cygwin/X on your local machine then you can instruct your SSH client to enable X forwarding and run a graphical browser such as Firefox or Chrome if the xorg-x11-xauth package is installed on the server.

share|improve this answer

I find it convenient to set up socks forwarding using OpenSSH's -D $port option. Then use a firefox extension that does fine-grained proxy configuration (FoxyProxy IIRC), and tell it to tunnel some sites through the socks proxy at localhost:$port .

share|improve this answer
    
I already do this using Putty Tunelling. But this is not exactly what I need. I actually want to surf web from inside the server not by tunneling. For example when I want to download file in the server (which I cannot download using wget command). –  Dane Nov 24 '10 at 10:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.