Sponsored Content
Full Discussion: SSHD does not start
Operating Systems AIX SSHD does not start Post 302156783 by bakunin on Wednesday 9th of January 2008 05:17:13 AM
Old 01-09-2008
Yes, 5.1 is definitely out of service (and soon 5.2 will be too, if it is not already), therefore an upgrade to 5.3, ML6 (CSP3) would be a good idea.

Still there are a few points i'd like to mention as possible problems:

1) As far as i know the sshd daemon is started not on the commandline but via the system resource controller (SRC). Try to issue the command:

startsrc -s ssh

If there is a error message like "the ssh subsystem is not on file" you might not have executed the correct installation procedure

2) On AIX 5.3 (and on 5.1 too, IIRC) you need to install the rpm-package openssl.0.9.7g-1 prior to install ssh/sshd. Issue

rpm -q openssl

and look if the output is like "openssl-0.9.7g-1". If not this might be the source of your problems.

3) Have you checked if you have installed the correct package? There are *several* packages to be installed via installp, issue:

lslpp -l openss*

the output should be like:

Code:
# lslpp -l openss*
  Fileset                      Level  State      Description         
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  openssh.base.client     4.3.0.5300  COMMITTED  Open Secure Shell Commands
  openssh.base.server     4.3.0.5300  COMMITTED  Open Secure Shell Server
  openssh.man.en_US       4.3.0.5300  COMMITTED  Open Secure Shell
                                                 Documentation - U.S. English
  openssh.msg.en_US       4.3.0.5300  COMMITTED  Open Secure Shell Messages -
                                                 U.S. English

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

I hope this helps

bakunin

PS: ah, and a final point: do NOT use bash to start daemons in AIX. Usually it doesn't matter, but why take the risk? On AIX Korn Shell is used throughout the system and you should stick to that.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sshd

i just downloaded and installed succesfully openssh server, and am running it on netbsd 1.5, i can not login with anyuser, i enabled root login just to see what happens and i can login as root, but no other user, i checked my config and most things are default, whats going on? has any one else had... (2 Replies)
Discussion started by: norsk hedensk
2 Replies

2. AIX

sshd restart

need some clarification: if i ssh to the server & i restart the sshd process, did my connection gone? one more thing, there are a few sshd processes in aix, how do i restart it all to read new config? using HUP? thanks in advance! (2 Replies)
Discussion started by: ashterix
2 Replies

3. AIX

It helps in the sshd on sshd.log

Friends, I made the installation of the ssh in the it conspires, I configured in the ssh_config the following parameters.. SyslogFacility AUTH LogLevel INFO that should generate sshd.log in the /var/log.... more no this generating. Somebody could help myself in... (0 Replies)
Discussion started by: sandba
0 Replies

4. UNIX for Advanced & Expert Users

sshd deamon issue !!!!

On one of my production server sshd process is running on top . consuming 100 % amount of CPU . Below is the output of the sshd process... Please advice I am not sure what should I be doing about this. Can I kill the process ? ... Thanking you in advance. CPU TTY PID USERNAME PRI NI SIZE ... (1 Reply)
Discussion started by: kpatel786
1 Replies

5. UNIX for Dummies Questions & Answers

sshd question

Can someone tell me the difference between the (2) listed below: oracle pts/1 ip1 May1 7:11 9:11 oracle sshd ip1 May1 7:11 8:22 How do I read the above information, the fact that the row for pts/1 has a longer time duration than the row for sshd. Why is the... (2 Replies)
Discussion started by: banyan
2 Replies

6. Solaris

no sshd log

My ssh log appear to the screen which i want it to be log to /var/log/sshd.log how to log the sshd to /var/log? (5 Replies)
Discussion started by: hezry79
5 Replies

7. Solaris

sshd not able to restart

Hi, I was able to putty a few server (Solaris 10) of mine using hostname, but when i change to ip address, it shows login as: root Using keyboard-interactive authentication. Password: Access denied I change PermitRootLogin to yes. I tried to do a sshd restart, however ... (6 Replies)
Discussion started by: beginningDBA
6 Replies

8. Solaris

sshd and loginlog

I have shamelessly tried all the possible ways to see if my /var/adm/loginlog logs user access entries for ssh but nothing has worked for me so far..:confused: for telnet login its working fine. Adding auth.info in syslog.conf works but i dont want that output. Is there any way to edit... (2 Replies)
Discussion started by: ningy
2 Replies

9. Solaris

pam sshd error

Hi I wanted to convert my pam libraries to 64 bit. so recently compiled my pam_banner and pam_wheel to 64 bit. I got the following error... sshd: dlsym failed pam_sm_authenticate:error ld.so.1 : sshd fatal: pam_sm_authenticate: can't find symbol thnaks (8 Replies)
Discussion started by: chinchao
8 Replies

10. Red Hat

Sshd - error

Hi, Do you know what cause the error message ? Nov 19 13:42:19 cfsasnd02 sshd: pam_env(sshd:setcred): non-alphanumeric key '-- /etc/environment' in /etc/environment', ignoring Nov 19 13:42:20 cfsasnd02 sshd: pam_env(sshd:setcred): non-alphanumeric key '-- /etc/environment' in... (0 Replies)
Discussion started by: xitrum
0 Replies
Smokeping_probes_SSH(3) 					     SmokePing						   Smokeping_probes_SSH(3)

NAME
Smokeping::probes::SSH - Secure Shell Probe for SmokePing SYNOPSIS
*** Probes *** +SSH binary = /usr/bin/ssh-keyscan # mandatory forks = 5 offset = 50% step = 300 timeout = 15 # The following variables can be overridden in each target section keytype = dsa pings = 5 port = 5000 # [...] *** Targets *** probe = SSH # if this should be the default probe # [...] + mytarget # probe = SSH # if the default probe is something else host = my.host keytype = dsa pings = 5 port = 5000 DESCRIPTION
Integrates ssh-keyscan as a probe into smokeping. The variable binary must point to your copy of the ssh-keyscan program. If it is not installed on your system yet, you should install openssh >= 3.8p1 The Probe asks the given host n-times for it's public key, where n is the amount specified in the config File. As part of the initialization, the probe asks 127.0.0.1 for it's public key and tries to parse the output. Make sure you have SSH running on the localhost as well. VARIABLES
Supported probe-specific variables: binary The location of your ssh-keyscan binary. Example value: /usr/bin/ssh-keyscan This setting is mandatory. forks Run this many concurrent processes at maximum Example value: 5 Default value: 5 offset If you run many probes concurrently you may want to prevent them from hitting your network all at the same time. Using the probe- specific offset parameter you can change the point in time when each probe will be run. Offset is specified in % of total interval, or alternatively as 'random', and the offset from the 'General' section is used if nothing is specified here. Note that this does NOT influence the rrds itself, it is just a matter of when data acqusition is initiated. (This variable is only applicable if the variable 'concurrentprobes' is set in the 'General' section.) Example value: 50% step Duration of the base interval that this probe should use, if different from the one specified in the 'Database' section. Note that the step in the RRD files is fixed when they are originally generated, and if you change the step parameter afterwards, you'll have to delete the old RRD files or somehow convert them. (This variable is only applicable if the variable 'concurrentprobes' is set in the 'General' section.) Example value: 300 timeout How long a single 'ping' takes at maximum Example value: 15 Default value: 5 Supported target-specific variables: keytype Type of key, used in ssh-keyscan -t keytype Example value: dsa Default value: rsa pings How many pings should be sent to each target, if different from the global value specified in the Database section. Note that the number of pings in the RRD files is fixed when they are originally generated, and if you change this parameter afterwards, you'll have to delete the old RRD files or somehow convert them. Example value: 5 port Port to use when testing the ssh connection -p port Example value: 5000 Default value: 22 AUTHORS
Christian Recktenwald <smokeping-contact@citecs.de> 2.6.8 2013-03-17 Smokeping_probes_SSH(3)
All times are GMT -4. The time now is 08:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy