You are not logged in.

#1 2009-09-20 18:38:15

extraspecialbitter
Member
Registered: 2009-09-19
Posts: 2

[RESOLVED] unable to configure sshd

I have my very first ArchLinux up and mostly running, but even though its network (including sshd) appears to be running, I'm unable to ssh to it from another computer.  I end up getting this error:

pablo@grandpaboy=> ssh 192.168.0.5
ssh_exchange_identification: Connection closed by remote host

I have openssh installed on the target computer.  Is there additional configuration required in order to connect remotely?  Thanks in advance for the help.

Last edited by extraspecialbitter (2009-09-20 20:23:16)

Offline

#2 2009-09-20 18:41:33

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [RESOLVED] unable to configure sshd

you have to add your host to /etc/hosts.allow or comment out the line that deny that in /etc/hosts.deny

Last edited by wonder (2009-09-20 18:41:48)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-09-20 19:17:39

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

Re: [RESOLVED] unable to configure sshd

If the above does not do the trick, running ssh with the -v switch should shed a light on what's going wrong.


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

Offline

#4 2009-09-20 19:24:44

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: [RESOLVED] unable to configure sshd

I'm 95 % sure that wonder is right, the op needs to add his host to the /etc/hosts.allow
The verbose switch will help diagnose it as B pointed out.

Last edited by graysky (2009-09-20 19:25:10)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2009-09-20 20:22:13

extraspecialbitter
Member
Registered: 2009-09-19
Posts: 2

Re: [RESOLVED] unable to configure sshd

wonder wrote:

you have to add your host to /etc/hosts.allow or comment out the line that deny that in /etc/hosts.deny

I feel embarrassed that I didn't know this one - but it worked.  Thanks!

Offline

#6 2009-11-01 22:42:57

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [RESOLVED] unable to configure sshd

I have just run into this exact same error, but do I have to add my host to my box's /etc/hosts.allow or the target computer's /etc/hosts.allow? (is a headless machine, grr...).

Offline

#7 2009-11-02 00:57:33

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [RESOLVED] unable to configure sshd

Add it to /etc/hosts.allow on the server (the one running sshd)


neutral

Offline

#8 2009-11-02 03:29:56

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [RESOLVED] unable to configure sshd

Okay, thanks sand_man smile

Offline

Board footer

Powered by FluxBB