LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-10-2014, 08:45 AM   #1
andrewm659
Member
 
Registered: Oct 2004
Distribution: CentOS/Fedora/OpenSuse
Posts: 61

Rep: Reputation: 1
Smile SSH to home network


I need some help, i'm trying to get to my server. I want to tunnel ssh over my web proxy. The web proxy is running on port 8080. I don't need to be able to tunnel chrome through it. Just ssh. What command switches would I use?
 
Old 06-10-2014, 08:47 AM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i'm not sure i understand. is the ssh server listening to port 8080. if so then your router would need to forward port 8080 to your pc on the network. then anything trying to access that port using your ip address it will be routed to your pc.
Code:
ssh -p 8080 www.02144.com

Last edited by schneidz; 06-10-2014 at 08:49 AM.
 
Old 06-10-2014, 08:54 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by andrewm659 View Post
I need some help, i'm trying to get to my server. I want to tunnel ssh over my web proxy. The web proxy is running on port 8080. I don't need to be able to tunnel chrome through it. Just ssh. What command switches would I use?
No idea, since you don't give us any details to work with. Version/distro of Linux? What proxy server you're using? What environment (from a company LAN to your home? Company-to-company?) What firewalls are in between you and it?

There are even some off-the-shelf solutions:
http://www.agroman.net/corkscrew/
 
Old 06-10-2014, 09:11 AM   #4
andrewm659
Member
 
Registered: Oct 2004
Distribution: CentOS/Fedora/OpenSuse
Posts: 61

Original Poster
Rep: Reputation: 1
I am behind company LAN trying to get to my home server. CentOS/RHEL to OpenSuse. I am trying to utilize the web proxy (port 8080) since port 22 is blocked to everything but certain servers. Port 22 is open on the other end...
 
Old 06-10-2014, 09:30 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by andrewm659 View Post
I am behind company LAN trying to get to my home server. CentOS/RHEL to OpenSuse. I am trying to utilize the web proxy (port 8080) since port 22 is blocked to everything but certain servers. Port 22 is open on the other end...
Corkscrew may work just fine, as might schneidz's solution. Be aware, though, that unless you OWN the company, you may be violating your company's data security policies. Not questioning your motives or anything else, but you could easily be shown the door for doing this if you're caught.

Unless you have permission, don't.
 
1 members found this post helpful.
Old 06-10-2014, 11:31 AM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Port 22 is blocked, but what about other ports? You could just add a second listening port for SSH on your home machine so you can connect on port 8224, or 10289, or 65220, or whatever you want. There's no reason you have to stick with 22 and only 22, that's just the default.
 
  


Reply



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 works only intermittantly on home network crs17 Linux - Networking 4 11-24-2012 07:48 PM
home folder via network (ssh) LuckyMe Linux - Newbie 2 06-18-2007 08:22 AM
ssh problem over home network sharkus Linux - Networking 4 03-11-2007 07:19 PM
ssh-keygen on network mnt /home ronin1 Linux - Software 4 10-06-2004 01:54 PM
ssh-keygen on network mnt'd HOME ronin1 Linux - Security 1 10-06-2004 01:27 PM

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

All times are GMT -5. The time now is 06:25 AM.

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