latonita

How to replace build-in SSHD?

Recommended Posts

Posted (edited)

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now