Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → SSH question
SSH question
2007-09-09, 10:22 PM #1
The other day, I was at uni and I needed a file from my home computer (Ubuntu linux) , so I tried to ssh in in an xterm window and get it. After typing "ssh -X [my home ip address] " in an xterm window, I got the following message:

Code:
ssh: connect to host [my home ip address] port 22: Connection refused


If this is being blocked at the router level, is there something that I have to do to configure my router for ssh? (BTW, the ssh package is installed)

I am able to connect to other computers on my home lan (using "ssh 192.168.1.x" ) but for some reason I haven't been able to connect from a remote location.

Is there something that I'm doing wrong? I've googled and I have yet to find a good tutorial.
2007-09-09, 10:35 PM #2
On your router, forward port 22 to your ubuntu pc's IP address.
2007-09-09, 10:44 PM #3
Definitely sounds like a router issue. I second Ag's suggestion.
My Parkour blog
My Twitter. Follow me!
2007-09-09, 10:47 PM #4
What are you using for your "home IP address"? You can't use 192.168.x.x since those are reserved for LANs. Individual PCs can't be accessed outside of your LAN by such IPs. Attempting to SSH into your WAN IP is attempting to SSH into the router itself which obviously will not work.

Set up port triggering on your router so that port 22 is directed to whatever PC you want to SSH into.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2007-09-09, 11:30 PM #5
I think I got it working; I won't know for sure until I test it tomorrow from a remote network.

Thanks, guys.

Emon: "home ip address" = the public ip address assigned by my ISP.

↑ Up to the top!