Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: squeezypeas on December 08, 2015, 03:37:27 AM

Title: SCP a file from TCL
Post by: squeezypeas on December 08, 2015, 03:37:27 AM
I'm trying to get a file that I compiled from the Pi but SCP doesn't seem to work. I'm using the scp command from a Mac terminal but I get the following message after entering credentials for TCL...

Dropbear SSH multi-purpose v2014.65
Make a symlink pointing at this binary with one of the following names:
'dropbear' - the Dropbear server
'dbclient' or 'ssh' - the Dropbear client
'dropbearkey' - the key generator
'dropbearconvert' - the key converter

It looks like there is an scp binary in /usr/bin/ and /usr/local/bin/ but dropbear seems to grab the connection and looks like it doesn't have scp compiled in.

Is there anything I can do?

Title: Re: SCP a file from TCL
Post by: bmarkus on December 08, 2015, 03:57:39 AM
1) Replace dropbear with openssh

2) Install a lite ftp server
Title: Re: SCP a file from TCL
Post by: squeezypeas on December 08, 2015, 04:13:50 AM
I think I'll go with 1.

Should I remove dropbear to avoid conflict?
Title: Re: SCP a file from TCL
Post by: bmarkus on December 08, 2015, 04:21:54 AM
I think I'll go with 1.

Should I remove dropbear to avoid conflict?

No, just stop it.
Title: Re: SCP a file from TCL
Post by: squeezypeas on December 08, 2015, 04:36:30 AM
Great, thanks.
Title: Re: SCP a file from TCL
Post by: Greg Erskine on December 08, 2015, 04:20:20 PM
I'm trying to get a file that I compiled from the Pi but SCP doesn't seem to work. I'm using the scp command from a Mac terminal but I get the following message after entering credentials for TCL...

Dropbear SSH multi-purpose v2014.65
Make a symlink pointing at this binary with one of the following names:
'dropbear' - the Dropbear server
'dbclient' or 'ssh' - the Dropbear client
'dropbearkey' - the key generator
'dropbearconvert' - the key converter

It looks like there is an scp binary in /usr/bin/ and /usr/local/bin/ but dropbear seems to grab the connection and looks like it doesn't have scp compiled in.

Is there anything I can do?

hi squeezypeas,

This topic has popped up a few times. This thread has detailed information for adding a symbolic link or two.

http://forum.tinycorelinux.net/index.php/topic,18875.0.html

I should note that the links have changed depending on the version of dropbear.

regards
Greg