OpenWrt Forum Archive

Topic: openssh on openwrt kamikaze - scp?

The content of this topic has been archived on 24 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm using Openwrt Kamikaze 8.09

By default with Dropbear I can use scp.
But, when I install OpenSSH and remove Dropbear, I can't scp anymore.

$ scp file.txt root@192.168.1.1:/root/
root@192.168.1.1's password:
ash: scp: not found
lost connection

How can I make scp work? smile

ps.: scp -vvv
http://pastebin.ca/1432921

Thank you

Why do you try to replace Dropbear by OpenSSH?

ash: scp: not found

There's your problem - no "scp" on the remote host.  Either it wasn't installed, or it was installed in a non-standard place, or you've changed the PATH variable for root@192.168.1.1.  Dropbear installs it as /usr/bin/scp (a symlink to ../sbin/dropbear, I think).

The discussion might have continued from here.