View Single Post
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#2
Originally Posted by benlau View Post
Code:
$ dput -f fremantle-extras-builder penpen_0.1-1_armel.changes
Uploading to fremantle-extras-builder (via scp to drop.maemo.org):
This is a restricted account.
Warning: The execution of '/usr/bin/scp' as
  'scp -p /scratchbox/users/benlau/home/benlau/src/penpen/src/penpen_0.1-1.dsc /scratchbox/users/benlau/home/benlau/src/penpen/src/penpen_0.1-1.tar.gz /scratchbox/users/benlau/home/benlau/src/penpen/src/penpen_0.1-1_armel.deb /scratchbox/users/benlau/home/benlau/src/penpen/src/penpen_0.1-1_armel.changes benlau@drop.maemo.org:/var/www/extras-devel/incoming-builder/fremantle'
  returned a nonzero exit code.
Error while uploading.
As I can login with using ssh , so my ssh key should be set correctly.
You key looks like it's working so I've added some bold to your snippet above.

Why would scp fail? 9 times out of 10, scp fails because it can't read the files you're trying to copy somewhere. Either a file is missing or it has the wrong bits or is owned by an unexpected owner. Or a combination.

So, do some ls -l in the directories with the files that you try to copy and see what's what.