Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: SSH Not Working

Subject: Re: SSH Not Working
Date: Wed, 10 Nov 2004 15:59:12 -0000
I had similar symptoms recently because there was an instance of ssh already
running. Another instance of ssh was being started by inetd and so when the
sshd service tries to start, it cannot bind to port 22. The solution is to
hash the offending lines in /etc/inetd.conf, kill the processes, then start
sshd. Webmin is helpful here.
Ric

----- Original Message ----- 
From: "Darren Tucker" <dtucker@zip.com.au>
To: "David Sugar" <dsugar@alum.hws.edu>
Cc: <secureshell@securityfocus.com>
Sent: Tuesday, November 09, 2004 10:35 PM
Subject: Re: SSH Not Working


David Sugar wrote:
I have a serious problem and need help.  I am trying to run ssh and
continue to get the error "daemon() failed" whenever I try to start it.
Does anyone have any ideas of what I can do to fix this problem.  Any
help would be appreciated.  Thanks.

By the way I am using SuSE 9.1 and its version 3.8p1 of sshd

That's usually caused by incorrect permissions on /dev/null (should be a
character special device, mode 666)

If that's not it, try starting sshd under strace (eg "strace -f
/path/to/sshd") and see what's failing.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

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