Re: SSHD - cant run daemon

From: Robert (gojuka@si.rr.com)
Date: 10/28/02


From: gojuka@si.rr.com (Robert)
Date: 28 Oct 2002 14:45:09 -0800


"Nico Kadel-Garcia" <nkadel@bellatlantic.net> wrote in message news:<XUUu9.33150$wm6.16973@nwrddc01.gnilink.net>...
> "Robert" <gojuka@si.rr.com> wrote in message
> news:742c30b4.0210270735.6eaae9ed@posting.google.com...
> > I am trying to learn the ssh, and was messing around with the config
> > file. At first it was running fine, then all of a sudden it wouldnt
> > let me run SSHD anymore. Here is error message:
> >
> > # /usr/local/sbin/sshd
> > sshd: SSH Secure Shell 3.2.0
> > sshd[1950]: FATAL: Creating listener failed: port 22 probably already
> > in use!
>
> Does someone else have root privileges to run SSHD with, or have you
> accidentally put it in inetd.conf or xinetd?

No one else has root priveleges. I checked xinetd.conf and there is
no trace of anything there. There is nothing running on port 22
(netstat -nat). I dont understand. There is no trace of the sshd
running at all (ps -aux | grep sshd) Could this have to do with the
configuration file? I also noticed that i have ports 32768 ad 32769
open and waiting for connections. They were never there before. Is
there a way to find out what software is listening on those ports? If
I cant figure this out, is there a way to remove the current sshd and
reinstall it? (that seems like the easy way out...:-)

Thanks



Relevant Pages

  • Re: use ipchains to block all ports > 60,000
    ... else going on here except sshd which allows me to log in and monitor the ... Telnet not running but here's the ouput of ssh -V and sshd -V ... OK, ran that from an external box and it showed open ports 22, 80, plus ... My ISP looked for evidence of massive scans emanating from my ip address ...
    (comp.os.linux.security)
  • Re: using SSH on multiple ports to select unique actions
    ... I currently allow telnet connections to various ports, ... give the same features but using ssh. ... multiple instances of sshd with unique config files. ...
    (comp.security.ssh)
  • Re: SSHD - cant run daemon
    ... >>> I am trying to learn the ssh, and was messing around with the config ... There is nothing running on port 22 ... There is no trace of the sshd ... I wonder if you've got something odd going with your SSH installation. ...
    (comp.security.ssh)
  • Re: Securing SSH: Does disabling password authentication work?
    ... sshd is still responding to incoming ssh connection on other ports ... I wrote a little shell script for cron that scans the ssh log every ...
    (Debian-User)
  • only root without password
    ... The ssh works without the password for the "root" user, ... the ssh works and I think there is a wrong config file but I ... let's see the strace of sshd daemon. ...
    (comp.security.ssh)