Computing.Net > Forums > Networking > ssh remotely into ubuntu

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ssh remotely into ubuntu

Reply to Message Icon

Name: sandoze
Date: August 23, 2007 at 11:30:41 Pacific
OS: ubuntu 6.02
CPU/Ram: 1gig
Product: home brew
Comment:

I'm unable to ssh into my machine remotely. If i try internally (192.168.0.105) it works just fine. If I unplug the cable from my linksys box and put it directly into the box, it works just fine. So it looks like linksys is not forwarding port 22 to the box, but I did set up a forwarding rule so it should work (windows port forwards like VNC work just fine). Any thoughts?



Sponsored Link
Ads by Google

Response Number 1
Name: SmittyZ3M
Date: August 23, 2007 at 12:11:52 Pacific
Reply:

Are you sure you are forwarding TCP 22? It could also be possible that your ISP may not allow TCP 22 traffic to traverse its network.


0

Response Number 2
Name: sandoze
Date: August 23, 2007 at 12:29:32 Pacific
Reply:

It is forwarded TCP 22. If I disconnect my Comcast connection from the linksys router and plug it directly into the ubuntu box everything works perfectly. That's a great temp fix while i'm working on that one box remotely, but I'm going to need to add more things onto the network at some point.


0

Response Number 3
Name: jefro
Date: August 23, 2007 at 16:03:57 Pacific
Reply:

Does the linksys have a firewall rule for exactly ssh already that could be selected as allow instead of the port forward external to internal?

To prove for sure it is the linksys I guess you could also dmz it for a short test just in case of some other oddity. Not sure you'd need to but recheck the port forwarding.

I read it wrong and answer it wrong too. So get off my case you goober.


0

Response Number 4
Name: Curt R
Date: August 24, 2007 at 07:34:43 Pacific
Reply:

I've done this on my firewall which isn't a linksys but all SOHO type "routers" basically work the same. You have to setup your forward to send the ssh port 22 to the internal IP of the PC you wish to connect to.

I have several Linux boxes and two UNIX boxes at home. My OpenBSD box is my router/firewall which resides behind the SOHO one provided by my ISP (Combo modem/router/wireless AP unit). The SOHO router connects directly to the OpenBSD router/firewall which then in turn connects to my Cisco switch and the rest of the LAN.

The forward I setup on the SOHO unit is for port 22. It points to my OpenBSD box via it's IP address (ie: forward port 22 tcp/udp to IP address xxx.xxx.xxx.xxx). Once I've connected and logged in, I can then ssh to any other Linux/UNIX PC in my home office.

I suggest you double check your forward. If nothing appears to be wrong with it, delete it and try redoing it over. You may have made a simple mistake setting it up.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


HP LaserJet 3600 Offline from intranet to internet...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: ssh remotely into ubuntu

VPN or Remote Control www.computing.net/answers/networking/vpn-or-remote-control/27567.html

Remote Desktop only one way... www.computing.net/answers/networking/remote-desktop-only-one-way/25310.html

Remote Desktop XP Behind Win2003 www.computing.net/answers/networking/remote-desktop-xp-behind-win2003/31311.html