What's new

Entware OpenSSH is getting killed by... something.

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

unsynaps

Senior Member
Best I can tell I have OpenSSH installed properly. Using the same ansible scriptsI used before to get it installed and working.

But for some reason now the sshd process is killed seconds after launching. No errors in even the debug logs for sshd. Even running it via /opt/sbin/sshd -D it just says "killed" after a second or two.

At a loss as to why this is happening.

Oh yes and I know about the bug in /opt/etc/ssh/sshd_config. Fixed that after some hair pulling. Issue still persists.
 
You can install strace from Entware and run strace /opt/sbin/sshd -D and see what system calls appear before being killed.
 
It's possibly killed by Asus' security daemon. A number of malware disguise themselves as the sshd process.
 
It's possibly killed by Asus' security daemon. A number of malware disguise themselves as the sshd process.
For the love of... I think this is it. Renamed /opt/sbin/sshd to <face+keyboard> and it doesn't get killed.

This must be something "new" as I never had this issue in the past.

Is there a more "elegant" way of dealing with this?
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top