Hi ,

I would like to upload my OSS project to maemo . However, I never can
make it work with dput.

The output of dput command is

> dput -f fremantle-extras-builder  penpen_0.2-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 /home/benlau/src/buildarea/penpen_0.2-1.dsc
/home/benlau/src/buildarea/penpen_0.2-1.tar.gz
/home/benlau/src/buildarea/penpen_0.2-1_armel.deb
/home/benlau/src/buildarea/penpen_0.2-1_armel.changes
ben...@drop.maemo.org:/var/www/extras-devel/incoming-builder/fremantle'
  returned a nonzero exit code.
Error while uploading.

As I can ssh to drop.maemo.org , my ssh key should be set correctly.

[sbox-FREMANTLE_ARMEL: ~] > ssh ben...@drop.maemo.org
[:snipped]
Last login: Tue Jun 22 15:51:37 2010 from 221.125.8.44
This is a restricted account.
You cannot execute anything here.
Not enough arguments.
Goodbye.
Connection to drop.maemo.org closed.

Anyone has idea about what is wrong with it?

Moreover, I found that sometimes it will said "Permission denied
(publickey).".  It happens randomly...

p.s I have attached my dput.cf and result of `scp -v `

Attachment: dput.cf
Description: Binary data

Executing: program /scratchbox/tools/bin/ssh host drop.maemo.org, user benlau, command scp -v -p -d -t /var/www/extras-devel/incoming-builder/fremantle
OpenSSH_3.8.1p1, OpenSSL 0.9.7e 25 Oct 2004
debug1: Connecting to drop.maemo.org [80.248.164.251] port 22.
debug1: Connection established.
debug1: identity file /home/benlau/.ssh/identity type -1
debug1: identity file /home/benlau/.ssh/id_rsa type 1
debug1: identity file /home/benlau/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-5
debug1: match: OpenSSH_5.1p1 Debian-5 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'drop.maemo.org' is known and matches the RSA host key.
debug1: Found key in /home/benlau/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/benlau/.ssh/identity
debug1: Offering public key: /home/benlau/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 149
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: scp -v -p -d -t /var/www/extras-devel/incoming-builder/fremantle
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug1: fd 2 clearing O_NONBLOCK
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.8 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 1
This is a restricted account.
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to