Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-09-2008, 08:36 PM   #1
LQ Newbie
Registered: Mar 2008
Posts: 27

Rep: Reputation: 15
Question Is it possible to browse over ssh from home using my school server?


Am trying to browse the internet using my school server from home. Am using UBUNTU Gutsy. I know its possible to do it through ssh. I have been trying to find a tutorial that would tell me how to do it but the ones I tried do not work out right.

So if anybody could give some brief instructions as to how to do it (browse the net using school server from home) then it would be great. Or at least a link to the right site...
I am able to ssh into the school server.

Thanks for your time.

Old 03-09-2008, 09:10 PM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
What you want to do is called SSH Tunneling. To start up the tunnel you log into the box with the -D option. For example, if you want to tunnel all traffic to port 1080 on your local computer to your schools server you could do so by doing "ssh -D 1080 user@server". If you do a netstat (on your home ubuntu computer) you should see that sshd is listening on port 1080 now.

In order to browse the web through that connection open your web browser and set it up to use localhost:1080 as a SOCKS4 proxy. It will now connect through the remote server for all connections.
Old 03-09-2008, 09:17 PM   #3
Registered: Jul 2005
Distribution: Debian
Posts: 94

Rep: Reputation: Disabled
Another way to go about it, if you're willing to forego the luxuries of graphics on websites, is to simply use a text-based browser (such as lynx) over SSH. Connect to your school server and try running lynx or www-browser, and see if anything is set up.

Sure, it may seem a little old-fashioned, but it works well for a lot of sites out there.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow to browse MySQL database driven website on home server Broady Linux - Newbie 2 11-04-2007 06:47 PM
ssh connection refused - trying to set up ssh server at home openSauce Linux - Server 10 10-18-2007 04:38 PM
Rsync homework from school to home, and home to school RandomLinuxNewb Linux - Software 2 05-05-2006 04:41 AM
ssh: Connection timed out. [from school] nixel Linux - Networking 2 05-19-2004 12:21 PM
how can i connect through my mdk 9.2 box at home from school? spyghost Linux - Networking 16 01-23-2004 02:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:53 PM.

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