How do i setup, configure and secure a sftp server?

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

TechTinkerer

Senior Member
Hi,

Can anyone help me with settingup a sftp server with configuring, securing it and replacing dropbear with it please?

All i have done is install the opkg sftp server...

Thanks guys, you're awesome :)
 

TechTinkerer

Senior Member
The default ssh setup works with scp.
I know, but app support especially with scp is missing on android....as i want to be able to see file tree and copy\paste scripts etc
 

ColinTaylor

Part of the Furniture
Code:
opkg install openssh-sftp-server
That's it. Nothing else is required.
 

TechTinkerer

Senior Member
Code:
opkg install openssh-sftp-server
That's it. Nothing else is required.
Not even changing default ports, adding certs etc? any idea where the conf is stored for the server settings?
 
Last edited:

ColinTaylor

Part of the Furniture
Sorry, I missed the part where you said you wanted to replace dropbear. I'd guess you'd also have to install openssh-server. Personally I wouldn't bother as dropbear is pretty secure. It'll just use the usual key setup on the router.
 
Last edited:

Xentrk

Part of the Furniture
No need to restart the router after installing sftp server.
 

jata

Regular Contributor
thanks all. So I have installed and restarted but I still get the same issue when I try to connect to the router using cyberduck using a sftp connection on port 22.

The error in my syslog (before and after installing) is

dropbear[4923]: Exit before auth from <192.168.xx.xx:58824>: No matching algo kex
 

Similar threads

Sign Up For SNBForums Daily Digest

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