You are not logged in.

#1 2011-08-18 05:24:30

Jabrick
Member
Registered: 2011-05-13
Posts: 79

[SOLVED] Can't SSH from another network

So I decided to try SSH, but for some reason I cannot connect from another network.
So I decided to ping my ip address, and I cannot ping myself.
I also tried to ping my dyndns.org account and still I could not ping myself.
Anybody know what the problem is and how I can fix it?
Thanks.

Last edited by Jabrick (2014-04-21 19:38:00)

Offline

#2 2011-08-18 05:56:53

PSW
Member
From: Brighton
Registered: 2011-06-15
Posts: 32

Re: [SOLVED] Can't SSH from another network

Is the client you are trying to SSH to behind a router? If so have you port forwarded port 22?

Last edited by PSW (2011-08-18 05:57:04)

Offline

#3 2011-08-18 06:23:06

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED] Can't SSH from another network

Like PSW said, you need to forward your ports if you're behind a router.

If that still doesn't help, post your /etc/hosts.allow

Offline

#4 2011-08-18 08:50:32

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Can't SSH from another network

itsbrad212 - fyi http://www.archlinux.org/news/dropping- … s-support/

/etc/hosts.allow no longer applies here.

Offline

#5 2011-08-18 09:08:53

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED] Can't SSH from another network

tomk wrote:

itsbrad212 - fyi http://www.archlinux.org/news/dropping- … s-support/

/etc/hosts.allow no longer applies here.

Oh, thanks for pointing that out! Just set up an Arch server today, good to have a heads-up now.

Offline

#6 2011-08-18 22:38:11

Nothgirc
Member
From: Mainz, Germany
Registered: 2011-08-18
Posts: 5
Website

Re: [SOLVED] Can't SSH from another network

PSW wrote:

Is the client you are trying to SSH to behind a router? If so have you port forwarded port 22?

I have the same problem. How do I forward port 22?

Offline

#7 2011-08-18 23:24:14

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Can't SSH from another network

Your router does that, so read the manual. Port forwarding is not an Arch function - unless your router runs Arch, that is.

Offline

#8 2011-08-19 00:01:02

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED] Can't SSH from another network

Nothgirc wrote:

I have the same problem. How do I forward port 22?

If you have a router that was provided to you by your ISP (and most likely any non-homemade one), you should be able to go to your router's IP address in your browser (http://192.168.1.254 in my case) and easily modify port forwarding options.

Offline

#9 2011-08-19 03:00:11

Jabrick
Member
Registered: 2011-05-13
Posts: 79

Re: [SOLVED] Can't SSH from another network

PSW wrote:

Is the client you are trying to SSH to behind a router? If so have you port forwarded port 22?

Yeah all I had to do wast port forward port 22 from my router T__T
Thanks guys.

Offline

#10 2011-08-19 03:49:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED] Can't SSH from another network

Jabrick wrote:

...Yeah all I had to do wast port forward port 22 from my router T__T
Thanks guys.

Moderator:
Great!   And welcome to Arch.
If you feel the thread is solved, go ahead and edit the first post in this thread, edit the title, and prepend [SOLVED].  We don't do that for you because, well, we cannot be sure when you really consider it solved.

Thanks.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB