• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1803
  • Last Modified:

sshd daemon won't start on AIX 5300-11. No errors returned

I have a server that will not start the sshd daemon. No errors are returned.  See examples below:
# startsrc -s sshd
0513-059 The sshd Subsystem has been started. Subsystem PID is 569546.
:root@cobra:/etc/rc.d/rc2.d:# ps -ef | grep sshd
:root@cobra:/etc/rc.d/rc2.d:#

# Ssshd start
0513-059 The sshd Subsystem has been started. Subsystem PID is 553126.
:root@cobra:/etc/rc.d/rc2.d:# ps -ef | grep sshd
    root 536730 422008   0 09:07:56  pts/0  0:00 grep sshd
:root@cobra:/etc/rc.d/rc2.d:#

Here is what I have installed:
# ssh -V
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009


# lslpp -l *ssh*  
  Fileset                      Level  State      Description        
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  openssh.base.client     5.2.0.5301  COMMITTED  Open Secure Shell Commands
  openssh.base.server     5.2.0.5301  COMMITTED  Open Secure Shell Server
  openssh.license         3.6.1.5200  COMMITTED  Open Secure Shell License
  openssh.man.en_US       5.2.0.5300  COMMITTED  Open Secure Shell
                                                 Documentation - U.S. English
  openssh.msg.en_US       5.2.0.5300  COMMITTED  Open Secure Shell Messages -
                                                 U.S. English

Path: /etc/objrepos
  openssh.base.client     5.2.0.5301  COMMITTED  Open Secure Shell Commands
  openssh.base.server     5.2.0.5301  COMMITTED  Open Secure Shell Server

Thanks for you help,
Don
0
demcmahan
Asked:
demcmahan
1 Solution
 
woolmilkporcCommented:
Hi,

one reason could be that port 22 is in use by some other process - to check issue:

netstat -an | grep '\.22'

Any clue?

Next try to start sshd from commandline:

/usr/sbin/sshd

Any messages? Does it stay up?

Maybe the subsystem configuration is wrong (from your old freeware installation) - check with:

lssrc -S -s sshd

Is the 4th colon-separated field "/usr/sbin/sshd", and does this match the output of "which sshd"?

Any messages in syslog?

If you don't have a catch-all entry in /etc/syslogd, add to this file:

auth.debug /var/adm/auth.log

Issue "touch /var/adm/auth.log" and "refresh -s syslogd"

Now start sshd again. Any messages in /var/adm/auth.log?

wmp



0
 
demcmahanAuthor Commented:
Doing /usr/sbin/sshd revealed the problem:  A misconfiguration in sshd_config.

Thanks so much for your help -- again!.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now