Hi guys,
I try o connect in SFTP to my Nexx Wt3020 with OpenWrt 18.06.2 but nothing!
I try in Linux and Windows with SCPWin but alway error, there aren't problem with the SSH I can connect without problem.
Thanks
EDIT:
I do in SSH " opkg install openssh-sftp-server
" and, on my Ubuntu PC, do "sftp://root@192.168.1.1" but the sistem always reply "File or directory don't exist"
Specify the username explicitly.
root
I do the command "sftp://root@192.168.1.1"
1 Like
Post the output:
ubus call system board
opkg list-installed openssh-sftp-server
ls -l $(opkg files openssh-sftp-server | grep -e ^/)
uci show dropbear
1 Like
root@OpenWrt:~# ubus call system board
{
"kernel": "4.14.95",
"hostname": "OpenWrt",
"system": "MediaTek MT7620N ver:2 eco:6",
"model": "Nexx WT3020 (8M)",
"board_name": "wt3020-8M",
"release": {
"distribution": "OpenWrt",
"version": "18.06.2",
"revision": "r7676-cddd7b4c77",
"target": "ramips/mt7620",
"description": "OpenWrt 18.06.2 r7676-cddd7b4c77"
}
}
root@OpenWrt:~# opkg list-installed openssh-sftp-server
openssh-sftp-server - 7.7p1-2
root@OpenWrt:~# ls -l $(opkg files openssh-sftp-server | grep -e ^/)
-rwxr-xr-x 1 root root 75415 Sep 16 07:25 /usr/lib/sftp-server
lrwxrwxrwx 1 root root 18 Sep 21 07:55 /usr/libexec/sftp-server -> ../lib/sftp-server
root@OpenWrt:~# uci show dropbear
dropbear.@dropbear [0]=dropbear
dropbear.@dropbear [0].PasswordAuth='on'
dropbear.@dropbear [0].Port='22'
Ok thaks I'm in but I need something with a grafic interfaces, it's possible?
If you can connect through the CLI, then this might be a problem with the GUI.
I try with Filezilla but always the same problem. A program Like WinSCP?
1 Like
opkg update
opkg --force-reinstall install dropbear openssh-sftp-server
/etc/init.d/dropbear restart
netstat -l -n -p | grep -e dropbear
If this doesn't help, try to reboot the router and PC.
All works now, thanks. But a program like WinSCP for LINUX exist??
Pilot6
September 21, 2019, 10:05am
12
On linux almost any file manager supports sftp like nautilus, thunar, etc. There is no need of a special program.
1 Like
Ok,
what I must write for use NAUTILUS?
Pilot6
September 21, 2019, 10:12am
14
There is "connect to..." menu in nautilus. You can write there "sftp://root@192.168.1.1/etc"
1 Like