Re: SSHD - cant run daemon

From: News Reader (NewsReader@nowhere1else.con)
Date: 10/29/02


From: "News Reader" <NewsReader@nowhere1else.con>
Date: Tue, 29 Oct 2002 02:43:16 GMT


"Robert" <gojuka@si.rr.com> wrote in message
news:742c30b4.0210281445.c43058e@posting.google.com...
> "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

lsof will show you what is using a port.



Relevant Pages

  • 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: SSHD and SSH Call-out via Port Knocking
    ... >shell scripts configured to run via xinet.d config files, write numbers, 1 per ... Ah, one specific octet per command port, so you need to nock them in the ... and kills the sshd process. ...
    (SSH)
  • RE: SSH on Multiple ports Fedora Core 4
    ... If you just want your sshd to liston on multiple ports, modify your /etc/ssh/sshd_config and add one port directive for each ... > interface to use for this config: ...
    (Fedora)
  • Reproducable panic under heavy disk I/O on 5.4-latestandthegreatest
    ... the machine panics. ... commands output, the kernel config file, dmesg output and backtraces ... <RealTek internal media interface> on miibus0 ... port may not be enabled ...
    (freebsd-hackers)
  • sound i810 [ i82801AA (ICH) AC97 Audio controller]
    ... config> po sn0 0x300 ... pci0: on pcib0 ... port ... isa0: on isab0 ...
    (freebsd-questions)