Operating System - HP-UX
1852003 Members
7466 Online
104063 Solutions
New Discussion

sshd getting killed automatically!!

 
Abdul Salam H S_1
Frequent Advisor

sshd getting killed automatically!!

Hi,
I want to implement ssh on my L class servers. In one of my servers,I'm observing that the daemon "sshd" is getting killed intermittently.Sometimes it runs for 2-3 days and then get killed. Syslog shows only time it starts sshd. No other messages related to sshd in syslog.log. How can I track the reason why the process got killed and resolve this issue?

Thanks & Best Regards,
Abdul Salam
3 REPLIES 3
Shaikh Imran
Honored Contributor

Re: sshd getting killed automatically!!

Hi Abdul,
I just searched sshd in the forum &
i got some threads.

I am not sure that you already have done this.

Try to see at one of the posts at the below link:

http://us-support2.external.hp.com/emse/bin/doc.pl/emse/bin/doc.pl?searchtext=sshd+&hpl=1&todo=search&searchcriteria=allwords&from=forums&searchcategory=ALL&rn=25&presort=rank&source=7000&esc=us-support2.external.hp.com&wpa=forums1.itrc.hp.com%3A80&origin=0&chkServStor=on

Regards,





I'll sleep when i am dead.
Michael Selvesteen_2
Trusted Contributor

Re: sshd getting killed automatically!!

Reasons may galore,

1.Try running the server in background

2.Possibly someone who has privileged access other than you may killed SSHD. Try setting "permitrootlogin no" in sshd_config

3.Use top command to see if there are any large or long processes already running which may disturb sshd.

4. If you use older version of ssh try latest SSH ( HP Secure Shell "A.03.81" )
Sยภเl Kย๓คг
Respected Contributor

Re: sshd getting killed automatically!!

Try updating the sshd to the latest,and check
regards
SK
Your imagination is the preview of your life's coming attractions