linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kyle <kb57442@yahoo.com>
To: daniel lance herrick <dan.herrick@pbs.proquest.com>,
	Dirk Bonenkamp - Bean IT <dirk@bean-it.nl>
Cc: linux-admin@vger.kernel.org
Subject: Re: How do I turn on ...?
Date: Wed, 26 Jun 2002 11:29:55 -0700 (PDT)	[thread overview]
Message-ID: <20020626182955.26603.qmail@web20110.mail.yahoo.com> (raw)
In-Reply-To: <Pine.GSO.4.21.0206261300390.16418-100000@wgs.apps1.bellhow.com>

 Do a chkconfig --list | grep ssh
that will tell you which run levels ssh is supposed to
be running on.   Then do a netstat -a | grep LISTEN
and see if the ssh port is being listeded on.  Then
you can do a ps -ef | grep sshd and see if sshd is
running. 
 If you have something listening on port 22 try and
telnet into the box using port 22
telnet mybox 22
  If you get a connection then your ipchains is setup
correctly if not then ipchains is blocking your
request.  You can verify this by doing a
/etc/rc.d/init.d/ipchains stop 
and then trying to ssh into the box.  If you find it
is ipchains causing the problem remember that ipchains
goes from top to bottom for accepting or rejecting
packets.  If you have a rule that rejects ssh
connections above the one that accepts them then they
will be rejected.

Kyle.

--- daniel lance herrick
<dan.herrick@pbs.proquest.com> wrote:
> Thanks, Dirk.
> 
> I looked at /etc/sysconfig/ipchains (in
> response to your note). Found a bunch of ACCEPTs
> and a bunch of REJECTs.
> 
> Searched /etc/services and found "ssh 22/tcp" and
> also udp.
> 
> The second line in /etc/sysconfig/ipchains is
> 
>  -A input -s 0/0 -d 0/0 22 -p tcp -y -j ACCEPT
> 
> so I think the firewalling is set up to pass ssh.
> 
> Comments in the ipchains file mention ifup-post,
> so I looked there. It is bulky and the bulk is
> devoted to "punch[ing] dns through the
> firewall" by computing an ipchains command and
> issuing it.
> 
> I still need help.
> 
> dan
> 
> 
> On Wed, 26 Jun 2002, Dirk Bonenkamp - Bean IT wrote:
> 
> > Hi Daniel,
> > 
> > Not sure about RH 7.3, but in 7.2 this works:
> > 
> > Have a look at /etc/sysconfig/iptables
> > 
> > You could make a copy of this file, and then empty
> the original one. 
> > Restart the firewall with this command:
> > 
> > /etc/init.d/iptables restart
> > 
> > And have a try then. If things work now, it's time
> to read the iptables man 
> > page and you can start to make your own iptables
> config.
> > 
> > Have fun,
> > 
> > Dirk
> > 
> > At 11:51 26-6-2002 -0400, daniel lance herrick
> wrote:
> > >Just got my employer to supply a box to install
> > >RedHat 7.3 on, so I can use the SGML tools
> without
> > >first finding them and learning to build and
> > >install them.
> > >
> > >Everything's wonderful, it's even on the company
> > >network with a name I gave it. (The word from the
> > >helpdesk is that "the desktop team has no duties
> > >to perform on a Linux machine.")
> > >
> > >I told the install "Medium Security".
> > >
> > >It refuses ssh connections.
> > >
> > >After reading the xinetd and ssh man pages (there
> > >is no sshd man page) I still have no clue what to
> > >do to properly activate the sshd within the
> RedHat
> > >philosophy.
> > >
> > >Would someone tell me what document to read?
> > >
> > >dan
> > >
> > >
> > >-
> > >To unsubscribe from this list: send the line
> "unsubscribe linux-admin" in
> > >the body of a message to
> majordomo@vger.kernel.org
> > >More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
> > 
> > Bean IT
> > 
> > T: +31 (0)23 - 5422299
> > F: +31 (0)23 - 5422728
> > W: http://www.bean-it.nl
> > 
> > 
> 
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at 
http://vger.kernel.org/majordomo-info.html


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

  reply	other threads:[~2002-06-26 18:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.GSO.4.21.0206261143530.16418-100000@wgs.apps1.bellhow .com>
2002-06-26 16:01 ` How do I turn on ...? Dirk Bonenkamp - Bean IT
2002-06-26 17:20   ` daniel lance herrick
2002-06-26 18:29     ` Kyle [this message]
2002-06-26 17:44 David Jackson
  -- strict thread matches above, loose matches on Subject: below --
2002-06-26 15:51 daniel lance herrick
2002-06-26 19:51 ` Glynn Clements
2002-06-27 19:22 ` terry white

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020626182955.26603.qmail@web20110.mail.yahoo.com \
    --to=kb57442@yahoo.com \
    --cc=dan.herrick@pbs.proquest.com \
    --cc=dirk@bean-it.nl \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).