1

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.

5 Answers 5

2

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.

6

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.

2
  • 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?
    – bman
    Nov 23, 2010 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, 2010 at 19:00
3

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.

2

Here is Wikipedia's list of text-based browsers

0

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 .

1
  • 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).
    – bman
    Nov 24, 2010 at 10:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .