Pi2 SCP no File Transfer

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
scargill
Posts: 16
Joined: Sat Oct 15, 2016 11:03 pm

Pi2 SCP no File Transfer

Post by scargill »

I've installed DietPi on a couple of NEOs and a couple of M2s and in each case WINSCP works and I can transfer files back and forth.

I've just installed DietPi on a Raspberry Pi 2 (the only difference being I've added LXDE. I can WinSCP (SCP) into the board as normal (root) but when I drag a file across to send it to the Pi, it says..

Cannot execute SCP to start transfer. Please make sure that SCP is installed on the server and path to it is included in PATH. You may also try SFTP instead of SCP.
Command failed with return code 127.

Why would this be any different to the other two. WinSCP connection is working - I can see the files and open Putty within it - I just can't transfer files???
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: Pi2 SCP no File Transfer

Post by Fourdee »

Hi Pete,

Dropbear is installed on all DietPi images by default, it doesnt support SCP/SFTP in Jessie (does in Stretch, Debian 9).

You can change to OpenSSH server (which has SCP/SFTP support) in dietpi-software:
dietpi-software > SSH Server > OpenSSH
Return to main menu and select Go >> Start install

WinSCP should then be happy ;)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
scargill
Posts: 16
Joined: Sat Oct 15, 2016 11:03 pm

Re: Pi2 SCP no File Transfer

Post by scargill »

Yes, I have a happy WinSCP now - well done - thank you.
eddy
Posts: 4
Joined: Tue May 29, 2018 2:40 pm

Re: Pi2 SCP no File Transfer

Post by eddy »

Fourdee wrote: Mon Oct 17, 2016 8:20 pm Dropbear is installed on all DietPi images by default, it doesnt support SCP/SFTP in Jessie (does in Stretch, Debian 9).
Given that DietPi 6.8 is based on Stretch (9.4), I was hoping scp would be available without having to switch to OpenSSH. Are there any plans to support it?

Thanks!
Post Reply