[SOLVED] Login to SFTP (Dropbear)

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Author Message
AsX
DD-WRT Novice


Joined: 15 Jun 2010
Posts: 36

PostPosted: Thu Dec 16, 2021 23:05    Post subject: [SOLVED] Login to SFTP (Dropbear) Reply with quote
So Dropbear now accepts sftp and seems to connect, which is cool, but how to login? Normal ssh login doesn't seem to work for sftp.
Sponsor
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1532
Location: Belgrade

PostPosted: Fri Dec 17, 2021 8:50    Post subject: Reply with quote
AsX wrote:
So Dropbear now accepts sftp and seems to connect, which is cool, but how to login? Normal ssh login doesn't seem to work for sftp.


it worked for me, although I have bcm unit... and I had to enter admin credentials... username and password from sharing list didn't worked...
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 812
Location: All over YOUR webs

PostPosted: Fri Dec 17, 2021 9:18    Post subject: Reply with quote
AsX wrote:
So Dropbear now accepts sftp and seems to connect, which is cool, but how to login? Normal ssh login doesn't seem to work for sftp.


username: root (do not use the username you set in webif)
password: whatever you set in webif

Works 100% here both broadcom and atheros.

I have split this from the build thread since these aren't for general support and help you get better attention.

To better assist you, please enable syslog and pastebin https://0bin.net/ the resulting syslog and paste the link here that shows the failed attempts.

Take care.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)


Last edited by the-joker on Fri Dec 17, 2021 9:46; edited 1 time in total
foz111
DD-WRT Guru


Joined: 01 Oct 2017
Posts: 527
Location: Earth

PostPosted: Fri Dec 17, 2021 9:32    Post subject: Reply with quote
AsX wrote:
So Dropbear now accepts sftp and seems to connect, which is cool, but how to login? Normal ssh login doesn't seem to work for sftp.


Local SSH
SSH must be toggled on in services - Secure Shell - SSHd - enabled

User name always root and use your password

To access from outside LAN Administration - Remote Access - SSH Management - enable

_________________
Netgear R7800 PPPoE Main Router
Network IPV4 eth1 - Isolated Vlan eth1.3 on br1 For IoT Devices With 3 x Linksys velop Bridged mesh Nodes (Amazon Echos, smart TV's, etc.)
BT Whole Home 4 Node Mesh Wi-Fi, Router Wi-Fi Disabled. OVPN Server With Paid OVPN client & Wireguard Client.
Gateway Mode, DNSMasq, Static Leases & DHCP, Pi-Hole DNS & Running Unbound.
AsX
DD-WRT Novice


Joined: 15 Jun 2010
Posts: 36

PostPosted: Fri Dec 17, 2021 14:34    Post subject: Reply with quote
Oh, it's always 'root'. Yes, works fine.
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 812
Location: All over YOUR webs

PostPosted: Fri Dec 17, 2021 14:39    Post subject: Reply with quote
Well you said originally, normal ssh credentials didn't work and its also same credentials for sftp/scp/ssh. So if one works the other must also.

Will mark as solved.

Enjoy.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum