comp.os.linux.networking
[Top] [All Lists]

Re: sshd not working

Subject: Re: sshd not working
From: Trygve Selmer
Date: Wed, 04 May 2005 12:17:59 +0200
Newsgroups: comp.os.linux.networking
Bob Tennent wrote:
I posted this some time ago:

  I installed Fedora 3 on a friend's computer. It's working fine but
  I thought I would set up remote access for myself to clear up any
  problems that might arise. The computer is on a local network behind
  an ADSL modem configured as a firewall and router. So I configured
  the router to forward port 22 to the Linux box. I believe I can
  reach the Linux box because I get a password dialogue. But it's not
  accepting what I know is the proper password. I haven't changed the
  default /etc/ssh/sshd_config. The sshd daemon is running. What have I
  forgotten?

It was suggested that PermitRootLogin yes
was needed in sshd_config. But this makes no difference and attempting
to log in as a non-root user also fails. The sshd server allows me
to log in from another computer on the LAN. According to the modem
manufacturer's support, the modem itself doesn't run sshd and the
problem is that sshd is "not configured correctly for NAT". Can anyone
suggest what configuration options might be relevant in this situation?

Hi Bob,

Many distros have tcpwrapper compiled into sshd. Try setting up
/etc/hosts.allow and /etc/hosts.deny, see "man hosts_access" for details.


<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy