On Wed, 04 Sep 2002 10:42:13 MST Craig wrote:

> I can't SSH to Bering with Putty. The libz.lrp & sshd.lrp have started
> upon boot-up. Here's what I've done: 1.) Generated my "keys" by using
> the makekey command, backed up the sshd.lrp. 2.) Edited the
> /etc/inetd.conf file, and commented out the SSH line near the bottom (as
> referenced in
> http://leaf.sourceforge.net/devel/jnilo/openssh2.html#AEN141), the
> backed up the etc package. 3.) Started Putty, added the default IP
> address of Bering 192.168.1.254 and selected the Option button of SSH
> which changes the port to 22. When I select "Open"...I get a DOS window
> and then a Network error: Connection refused message. What am I missing?

If sshd is running (ps | grep sshd), it's probably a firewall rule
problem.  Have you allowed the SSH traffic via /etc/shorewall/rules?
The rule

   ACCEPT  loc                 fw         tcp      ssh

should do it.  If you only want a particular host in the loc zone
to have access, you could use:

   ACCEPT  loc:192.168.1.X     fw         tcp      ssh

where 192.168.1.X is the host you want to allow.  A comma separated
list of hosts after the colon will also work.

If it is a rule problem,

   tail -f /var/log/syslog

while you're trying to connect via ssh should show the firewall
blocking the connection attempt.

sshd logs to auth.log as well, so you might find 

  tail -f /var/log/auth.log

useful in debugging as well.

--Brad



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to