Results 1 to 1 of 1

Thread: Question on Re: Browse the internet over SSH

  1. #1
    Join Date
    May 2005
    Ubuntu 8.10 Intrepid Ibex

    Question on Re: Browse the internet over SSH


    I have the following problem for which I would appreciate any help. The goal is to run Sage ( server without running a webserver.

    What I am doing right now is I log into a server via SSH ('ssh -D9999 server.ip'), and run sage in that server. However, I would like to be able to use Sage's web interface, normally just need to run 'sage -n' and open http://localhost:8000. But, no surprise, this address opens the local computer localhost, and not the server computer localhost, regardless of the fact that socks is configured to browse the internet via port 9999 (effectively I am browsing the internet using the server ip, I checked using

    Thanks for reading it,

    UPDATE: well, I was able to solve my problem with further reading. What I needed was port-forwarding directly and not dynamic port forwarding, this link was helpful, basically solution is

    ssh -L 8888:localhost:8000 user@server
    and open your browser to localhost:8888 no need to configure socks/proxy on your server.
    Last edited by renebs; February 20th, 2011 at 09:07 PM. Reason: found solution
    on Ubuntu 9.10

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts