You are not logged in.

#1 2011-02-02 21:29:17

vanvalium
Member
From: Austria
Registered: 2010-10-09
Posts: 86

ssh connection refused

Although I find alot of topics on this, I haven't found an answer yet.

I want to ssh from my arch box to my debian box (trying to learn server-related things)
but I always get the same error

ssh: connect to host host+domain port 22: Connection refused

this site says port 22 is open: http://www.canyouseeme.org/

I can ping my debian box (it also has a static ip if that matters), ssh localhost works, I put sshd:ALL in my hosts.allow, netstat says sshd is listening to the ports

Haven't used ssh before yesterday so I'm kinda clueless
Help will be highly appriciated

Offline

#2 2011-02-02 21:59:42

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

Re: ssh connection refused

Did you turn on ssh connections for all in /etc/hosts.allow ??

sshd: all

Edit:  Never mind -- I should read more closely

Last edited by ewaller (2011-02-02 22:07:59)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#3 2011-02-02 22:15:23

wudu
Member
Registered: 2010-03-08
Posts: 75

Re: ssh connection refused

same for me
big_smile

Last edited by wudu (2011-02-02 22:16:30)

Offline

#4 2011-02-02 22:29:34

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 5,304
Website

Re: ssh connection refused

I've just written this:
https://wiki.archlinux.org/index.php/SS … ed_Problem

See if that helps smile

Offline

#5 2011-02-02 22:54:02

vanvalium
Member
From: Austria
Registered: 2010-10-09
Posts: 86

Re: ssh connection refused

thanks, looked through it
seems my router is the problem, but I don't really know how to fix this
nat giving my trouble

Last edited by vanvalium (2011-02-02 22:55:18)

Offline

#6 2011-02-03 06:50:25

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819

Re: ssh connection refused

If you know what NAT is, I assume you know how to forward traffic?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB