LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-05-2002, 09:06 PM   #1
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
SSH tunnel?


I want to create an SSH tunnel to another host. I am almost sure I can make a SSH session out, but I haven't tried it yet. What I want to know is how would I make a SSH tunnel to another computer in order to transport HTTP over it.

correct if this command is correct to create an SSH tunnel to host FORD that has a local port listening on 3000

ssh -L 3000:FORD:22

Also would this only allow me to communicate with host FORD or would it forward to any webserver I needed. I know this may be a little confusing so please help if you can.
 
Old 04-08-2002, 09:24 PM   #2
bbenz3
Member
 
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284

Rep: Reputation: 30
i can't exactly help you but I am looking to do something similar soon. I was wondering why you wanted to do an SSH tunnel instead of something tunneled everything. Now I am not sure about most of this tunneling stuff yet so I am a bit confused on it all. If you know of any good places to look I would be greatly appreciated.
 
Old 04-09-2002, 06:57 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Re: SSH tunnel?

Quote:
Originally posted by tarballedtux
()correct if this command is correct to create an SSH tunnel to host FORD that has a local port listening on 3000

ssh -L 3000:FORD:22
Correct.

Quote:

Also would this only allow me to communicate with host FORD or would it forward to any webserver I needed.
Only FORD, cuz you have to tunnel to a specific address. Some examples here. Btw, you need to make sure Sshd runs on FORD and you have a valid account there.

*OT1, but another fine piece of work to achieve encrypted port fwd'ing, when both hosts aren't running ssh (but you got an account on both) is stunnel which uses SSL.
*OT2, if this really was about firewall piercing & proxying out to other servers you should rephrase your question :-]

HTH somehow.
 
Old 04-09-2002, 03:52 PM   #4
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Original Poster
Rep: Reputation: 30
This about proxy penetration, I trying to see if it is possible to do. I am here to test the districts policies for the internet connection. and ssh tunneling seems easy to do even for the slightly intelligent.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Tunnel - need some help on this MeridianRebel Linux - Networking 2 08-11-2005 02:10 PM
I need to tunnel X via ssh... is there a command? Thaidog Linux - Newbie 1 09-29-2004 01:58 PM
ssh tunnel crep Linux - Networking 2 08-25-2004 08:24 PM
ssh tunnel TroelsSmit Linux - Software 2 04-30-2004 03:30 PM
Ssh Tunnel tinaa Linux - Software 7 07-29-2003 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:35 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