[Trac-bugs] [PC-BSD Trac] #861: sshd wont start because of hosts.allow and hosts.denyssh

PC-BSD trac at pcbsd.org
Sat Dec 7 17:20:45 PST 2013


#861: sshd wont start because of hosts.allow and hosts.denyssh
-------------------------------------------------+-------------------------
 Reporter:  yggdrasil                            |      Owner:
     Type:  System Defect                        |     Status:  new
 Priority:  minor                                |  Milestone:
Component:  System Configuration                 |    Version:  9.2-RELEASE
 Keywords:  sshd ssh_exchange_identification     |
  Connection closed remote host                  |
-------------------------------------------------+-------------------------
 I ran into a problem running sshd on my machine with my 9.2-RELEASE. On
 earlier versions it was sufficient to add a pf rule, add sshd_enable="YES"
 to rc.conf.local and just service sshd start.
 In my current 9.2 install, I also had to remove the example hosts.allow
 and hosts.denyssh files in /etc for sshd to not disallow remote
 connections. Although hosts.denyssh is empty, with it outside connections
 would fail with a
 ssh_exchange_identification: Connection closed by remote host
 error.
 Without it everything works as expected.

--
Ticket URL: <http://trac.pcbsd.org/ticket/861>
PC-BSD <http://trac.pcbsd.org>
PC-BSD Project Management


More information about the Trac-bugs mailing list