OpenWrt Forum Archive

Topic: Replacing Dropbear with OpenSSH

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

First I modified the S50telent script to once again start telnet.  I then removed the dropbear package and then I installed the following package: http://openwrt.alphacore.net/experiment … mipsel.ipk.  Now I am confused as to how I go about getting sshd to start on boot.  Where is the S50sshd file is /etc/init.d/?

Any help is greatly appreciated as I have looked around quite a bit and don't understand.

Thank you,
  Duffin

I kinda gave up on OpenSSH, but for good reason.  The included dropbear package is nearly fully functional.  It supports ssh2, authorizing via keys, and tunneling.  I just need to figure out how to get sftp working with it and I am set.

-Duffin

Duffin444 wrote:

I kinda gave up on OpenSSH, but for good reason.  The included dropbear package is nearly fully functional.  It supports ssh2, authorizing via keys, and tunneling.  I just need to figure out how to get sftp working with it and I am set.

-Duffin

ipkg install openssh-sftp-server
mkdir -p /usr/libexec
ln -s /usr/lib/sftp-server /usr/libexec/sftp-server

Worked like a charm! smile Maybe this should be posted in the wiki.

Thank you,
   Duffin

Duffin444 wrote:

Maybe this should be posted in the wiki.

Create an account on the wiki and you can do it yourself.

Haha!  I explored a little more and found out that by typing the name of a page that does not exist I am asked if I want to create it.  I used this to create the wiki page for this myself.  The howto for this is Here.  Please feel free to clean it up or expand on it. 


Thanks Olli_04 for the push smile,
    Duffin

The discussion might have continued from here.