What's new

Help getting WinSCP to work via SCP/SFTP

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

sriamc

Occasional Visitor
I have 380.69 installed on my RT-AC68 router. I have installed AB-Solution, DNSCrypt, Entware, Pixelserv-tls via AB-Solution, Skynet.

Nate@RT-AC68U-7390:/tmp/home/root# opkg list-installed
entware-opt - 222108-5
file - 5.25-1
findutils - 4.6.0-1
ldconfig - 2.23-6
libart - 2.3.21-1
libbz2 - 1.0.6-3
libc - 2.23-6
libfreetype - 2.7.1-1
libgcc - 6.3.0-6
libmagic - 5.25-1
libncursesw - 6.0-1c
libopenssl - 1.0.2l-1
libpcre - 8.41-2
libpng - 1.6.29-2
libpthread - 2.23-6
librrd - 1.2.30-3a
librt - 2.23-6
libssp - 6.3.0-6
libstdcpp - 6.3.0-6
locales - 2.23-6
nano - 2.8.6-1
openssh-sftp-server - 7.5p1-4
opkg - 2011-04-08-9c97d5ec-17a
pixelserv-tls - V35.HZ12.Kk-1
rrdtool - 1.2.30-3a
terminfo - 6.0-1c
wget - 1.18-2
zlib - 1.2.11-1


However, I cannot get WinSCP to connect to the router. I have changed dropbear from port 22 to 2022. Any help would be appreciated.
 
I have 380.69 installed on my RT-AC68 router. I have installed AB-Solution, DNSCrypt, Entware, Pixelserv-tls via AB-Solution, Skynet.

Nate@RT-AC68U-7390:/tmp/home/root# opkg list-installed
entware-opt - 222108-5
file - 5.25-1
findutils - 4.6.0-1
ldconfig - 2.23-6
libart - 2.3.21-1
libbz2 - 1.0.6-3
libc - 2.23-6
libfreetype - 2.7.1-1
libgcc - 6.3.0-6
libmagic - 5.25-1
libncursesw - 6.0-1c
libopenssl - 1.0.2l-1
libpcre - 8.41-2
libpng - 1.6.29-2
libpthread - 2.23-6
librrd - 1.2.30-3a
librt - 2.23-6
libssp - 6.3.0-6
libstdcpp - 6.3.0-6
locales - 2.23-6
nano - 2.8.6-1
openssh-sftp-server - 7.5p1-4
opkg - 2011-04-08-9c97d5ec-17a
pixelserv-tls - V35.HZ12.Kk-1
rrdtool - 1.2.30-3a
terminfo - 6.0-1c
wget - 1.18-2
zlib - 1.2.11-1


However, I cannot get WinSCP to connect to the router. I have changed dropbear from port 22 to 2022. Any help would be appreciated.
Just to be sure it correctly installed, run this, the firs downloads the latest list of available packages:
Code:
opkg update
opkg install openssh-sftp-server
Then in WinSCP, can you connect with the SCP protocol? If not, then you may have the wrong credentials/port entered in the mask.
If SCP works, try SFTP as the protocol.

But to be honest, there is very little advantage of using SFTP, the SCP protocol works just as fine on the router with WinSCP.
 
Nate@RT-AC68U-7390:/jffs/scripts# opkg update
Downloading http://pkg.entware.net/binaries/armv7/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/packages
Nate@RT-AC68U-7390:/jffs/scripts# opkg install openssh-sftp-server
Package openssh-sftp-server (7.5p1-4) installed in root is up to date.


I have tried using WinSCP with SFTP, SCP, and FTP. Only FTP works to my USB only. I want to be able to access the router itself in order to manually modify files externally instead of with VI.
 
I have tried using WinSCP with SFTP, SCP, and FTP. Only FTP works to my USB only. I want to be able to access the router itself in order to manually modify files externally instead of with VI.
SCP runs directly on top of SSH, so if you can access the router through your SSH client, so would you with WinSCP.
Unless you have access restriction enabled in Administration > System > under Allow only specified IP address and use an IP that is not in the list.
 
Looks like it is working now. I guess I didn't need the sftp server. When I installed that and had dropbear at the 22, it was causing an issue and when I changed the dropbear to 2022, sftp still didn't work. SCP is working with 2022.
 
Hello,
I had also had small issues setting WinSCP to connect over FTP with TLS to my Asus-Merlin router.
My fault was that I was choosing SFTP but FTP is the protocol.
Here is how the details look:
tZ4SSw7
 

Attachments

  • FTPS with WinSCP.jpg
    FTPS with WinSCP.jpg
    37.9 KB · Views: 445

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