latonita

How to replace build-in SSHD?

Recommended Posts

Hi

 

DSM 6.1.5

I would like to replace integrated sshd server (ver 6.8) by installing latest from Entware/Optware which is ver 7.6 ?

after opkg install openssh-server it is installed but not being picked up by system. there is still old version running.

 

synoservicectl --restart sshd  starts old version again which is in /usr/bin/sshd, optware installs it in /opt/...

tried to replace /usr/bin/sshd executable with new one - it doesnt start at all.

 

maybe i'm going wrong direction and shall run it aside? ideas? where is startup script btw? thanks

 

 

Edited by latonita

Share this post


Link to post
Share on other sites

finally I just have two sshd running on different ports. one from dsm, another - from entware.

`/opt/etc/init.d/S40sshd start` starts service and it starts up after reboot as well

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.