mainSavannah Administration - Support: sr #109946, Can't scp to project download area

 
 

sr #109946: Can't scp to project download area

Submitter:  Marco Bresciani <marcobresciani>
Submitted:  Wed 28 Aug 2019 11:24:26 AM UTC
   
 
Category:  Download area - developer access Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  ineiev
Operating System:  Microsoft Windows Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 29 Aug 2019 12:49:07 PM UTC, comment #10: 

Thank you,
  and sorry for the troubles.


Marco

Marco Bresciani <marcobresciani>
Thu 29 Aug 2019 12:38:17 PM UTC, comment #9: 


> Before closing the ticket, could you please remove the [A and the two files v.14.0.0_Savannah.tar.bz2 and v.14.0.0_Savannah.tar.bz2.sig in the main folder?


Done.

> Should I have to configure something to allow access to https://download.savannah.nongnu.org/releases/aamfp/14.0.0/ to everyone?


I've done this for these files; in the future, be sure to chmod a+r the files before you upload them, and chmod a+rx the subdirectories.

Ineiev <ineiev>
Site Administrator
Thu 29 Aug 2019 12:05:08 PM UTC, comment #8: 

Should I have to configure something to allow access to https://download.savannah.nongnu.org/releases/aamfp/14.0.0/ to everyone?

Marco Bresciani <marcobresciani>
Thu 29 Aug 2019 11:59:06 AM UTC, comment #7: 

Before closing the ticket, could you please remove the [A and the two files v.14.0.0_Savannah.tar.bz2 and v.14.0.0_Savannah.tar.bz2.sig in the main folder?

I'd prefer to keep 14.0.0 folder only.


Thank you,

Marco

Marco Bresciani <marcobresciani>
Thu 29 Aug 2019 11:49:57 AM UTC, comment #6: 

I've removed spaces and ' from file name, now I can see them.

Marco Bresciani <marcobresciani>
Thu 29 Aug 2019 10:16:31 AM UTC, comment #5: 

Hello Ineiev,
  it worked! It was a matter of PuTTY private key format!

I've converted the private key from PuTTY to OpenSSH format, and I was able to connect and upload!

Files seems not yet visible in the Download area, but at least I was able to send them up.

Thank you.

Marco Bresciani <marcobresciani>
Thu 29 Aug 2019 10:09:25 AM UTC, comment #4: 

I've just tried with


scp -i /drives/F/Chiavetta/Savannah.ppk -v /drives/c/Users/mbresciani/Desktop/v.14.0.0\ \'Savannah\'.tar.bz2 marcobresciani@dl.sv.nongnu.org:/releases/aamfp/


specifying the position of the private SSH key I have on Savannah.


Executing: program /bin/_ssh.exe host dl.sv.nongnu.org, user marcobresciani, command scp -v -t /releases/aamfp/[A
OpenSSH_7.1p2, OpenSSL 1.0.1g 7 Apr 2014
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to dl.sv.nongnu.org [209.51.188.200] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /drives/F/Chiavetta/Savannah.ppk type -1
debug1: key_load_public: No such file or directory
debug1: identity file /drives/F/Chiavetta/Savannah.ppk-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Trisquel_GNU/linux_7.0-1
debug1: match: OpenSSH_6.6.1p1 Trisquel_GNU/linux_7.0-1 pat OpenSSH_6.6.1* compat 0x04000000
debug1: Authenticating to dl.sv.nongnu.org:22 as 'marcobresciani'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 zlib@openssh.com
debug1: kex: client->server aes128-ctr hmac-md5 zlib@openssh.com
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-rsa SHA256:FYkx0iik+iBeCLRzvUyUSTRT98TEBBJoYuQsTXbyGL8
debug1: Host 'dl.sv.nongnu.org' is known and matches the RSA host key.
debug1: Found key in /home/mobaxterm/.ssh/known_hosts:1
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: pubkey_prepare: ssh_fetch_identitylist: agent refused operation
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /drives/F/Chiavetta/Savannah.ppk
Enter passphrase for key '/drives/F/Chiavetta/Savannah.ppk':


It asks me for the passphrase... but no luck. The key is a PuTTY-generated one... could it be a problem, the format, I mean?


Yes, I know that spaces are evil, but I just wanted to try and this was the fastest solution since I copy-pasted the release name.

Marco Bresciani <marcobresciani>
Thu 29 Aug 2019 09:50:33 AM UTC, comment #3: 


> debug1: Next authentication method: publickey
> debug1: Trying private key: /home/mobaxterm/.ssh/id_rsa
> debug1: Trying private key: /home/mobaxterm/.ssh/id_dsa
> debug1: Trying private key: /home/mobaxterm/.ssh/id_ecdsa
> debug1: Trying private key: /home/mobaxterm/.ssh/id_ed25519
> debug1: Next authentication method: password


This suggests that the usual locations (~/.ssh/id_*) contain no key that your registered on Savannah.  Have you that key on your desktop?

> I'm using normal (web access) login and password.


Login, right; but you shouldn't use your Savannah password, the authentication is via public key only.

[reordered]

> Trying to send a file called "v.14.0.0 'Savannah'.tar.bz2" I have on my Desktop, together with similar naming for the GPG signature.


Unrelated: having file names with special characters like spaces and quotes makes life much harder for many people.

Ineiev <ineiev>
Site Administrator
Thu 29 Aug 2019 06:55:38 AM UTC, comment #2: 

I'm currently stuck on office PC with Windows and MobaXterm. Im on local terminal using:


scp -v /drives/c/Users/mbresciani/Desktop/v.14.0.0\ \'Savannah\'.tar.bz2 marcobresciani@dl.sv.nongnu.org:/releases/aamfp/


Trying to send a file called "v.14.0.0 'Savannah'.tar.bz2" I have on my Desktop, together with similar naming for the GPG signature.

This is the output:


Executing: program /bin/_ssh.exe host dl.sv.nongnu.org, user marcobresciani, command scp -v -t /releases/aamfp/
OpenSSH_7.1p2, OpenSSL 1.0.1g 7 Apr 2014
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to dl.sv.nongnu.org [209.51.188.200] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Trisquel_GNU/linux_7.0-1
debug1: match: OpenSSH_6.6.1p1 Trisquel_GNU/linux_7.0-1 pat OpenSSH_6.6.1* compat 0x04000000
debug1: Authenticating to dl.sv.nongnu.org:22 as 'marcobresciani'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 zlib@openssh.com
debug1: kex: client->server aes128-ctr hmac-md5 zlib@openssh.com
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-rsa SHA256:FYkx0iik+iBeCLRzvUyUSTRT98TEBBJoYuQsTXbyGL8
debug1: Host 'dl.sv.nongnu.org' is known and matches the RSA host key.
debug1: Found key in /home/mobaxterm/.ssh/known_hosts:1
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: pubkey_prepare: ssh_fetch_identitylist: agent refused operation
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/mobaxterm/.ssh/id_rsa
debug1: Trying private key: /home/mobaxterm/.ssh/id_dsa
debug1: Trying private key: /home/mobaxterm/.ssh/id_ecdsa
debug1: Trying private key: /home/mobaxterm/.ssh/id_ed25519
debug1: Next authentication method: password
marcobresciani@dl.sv.nongnu.org's password:
debug1: Authentications that can continue: publickey,password
marcobresciani@dl.sv.nongnu.org's password:
debug1: Authentications that can continue: publickey,password
marcobresciani@dl.sv.nongnu.org's password:
Received disconnect from 209.51.188.200: 2: Too many authentication failures for marcobresciani
Disconnected from 209.51.188.200
lost connection


I'm using normal (web access) login and password.

Marco Bresciani <marcobresciani>
Wed 28 Aug 2019 03:41:57 PM UTC, comment #1: 

What exact commands you use, and what is the output?

Ineiev <ineiev>
Site Administrator
Wed 28 Aug 2019 11:24:26 AM UTC, original submission:  

Hello,
  I've just created a new project called AAMfP and while I can use the source code and access the web pages, I can't login to the download area following the steps at https://savannah.gnu.org/maintenance/DownloadArea/ .

Download feature is enabled and GPG key test passes fine.

Could you please help me?


Thank you,

Marco

Marco Bresciani <marcobresciani>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ineiev (Posted a comment)
  • -email is unavailable- added by marcobresciani (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-30 ineiev StatusIn Progress Done
        Open/ClosedOpen Closed
    2019-08-28 ineiev StatusNone In Progress
        Assigned toNone ineiev

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code