View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Can't SSH externally.
PostPosted: Tue Nov 06, 2007 3:06 pm 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
I can't seem to SSH from my work PC into my mythtv box.

I was thinking it was because our firewall is pretty strict here, so, I setup my router to forward requests on external port 21 to port 22 of the mythtv box since I know port 21 is open, I can ftp to download stuff.

But, when I try and connect with putty to port 21 of my machine I get "Network Error: Software caused connection abort", almost immediately.

Not sure if it's because external ssh access is disabled on the mythtv box, OR if it's my network here at work...

Thanks for any suggestions you have,
-C

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 
PostPosted: Tue Nov 06, 2007 4:00 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Gibble wrote:
I can't seem to SSH from my work PC into my mythtv box.

I was thinking it was because our firewall is pretty strict here, so, I setup my router to forward requests on external port 21 to port 22 of the mythtv box since I know port 21 is open, I can ftp to download stuff.

But, when I try and connect with putty to port 21 of my machine I get "Network Error: Software caused connection abort", almost immediately.

Not sure if it's because external ssh access is disabled on the mythtv box, OR if it's my network here at work...

Thanks for any suggestions you have,
-C


Routers normally have ports 21 and 23 forwarded to the router itself. The router would always drop connections to these ports.

Try a safe port (>1023), such as :2222 forwarded to mythbox:22.

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 4:06 pm 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
Probably blocked from work, but I tried port 80 since I know it's not blocked outbound from here, and rather than getting the error...it just sorta hung up on a black shell screen with nothing but a cursor.

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 4:35 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Gibble wrote:
Probably blocked from work, but I tried port 80 since I know it's not blocked outbound from here, and rather than getting the error...it just sorta hung up on a black shell screen with nothing but a cursor.


Safe ports aren't usually blocked unless you have to connect to the web through a proxy (do you?). If you do have to use a proxy, you could poke around a bit and do a port scan, using nmap, of your work's firewall (if you know its IP address) to see what ports are open.
Just a small warning, though. Port scanning usually causes network admins to panic a bit (if they notice).

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 4:36 pm 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
It appears it works fine if I go through port 443 :)

At least now I know I can get it to work! Now, I just need to find a couple other holes out of this network :lol:

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 6:56 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
Gibble wrote:
It appears it works fine if I go through port 443


OK. That probably means that your work has a proxying firewall.

Try installing and using a program like ProxyTunnel at work. Here is how I configure it for my employer's firewall:


% cat ~/.ssh/config
CheckHostIP = no
StrictHostKeyChecking = ask

Host 134.159.90.120
ProxyCommand /Users/nigel/Bin/proxytunnel -p our-firewall:80 -u nigel -s nigel-password -d %h:22

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu