darcs repository web UI and hosting app. This is the main darcsden trunk, which also runs hub.darcs.net. (https://hub.darcs.net)

#78darcs get failed: Do you have the right URI for the repository

I tried the command darcs get http://hub.darcs.net/abdel/darcsden I get the failure message darcs failed: Not a repository: http://hub.darcs.net/abdel//darcsden (HTTP response code said error 404)

HINT: Do you have the right URI for the repository?

  If so, check with the repository owner to see if the following files
  are readable:

    1. _darcs/format    - might not exist; that's OK

..

Thanks for help.

    • status set to closed

    There's no such repository (or possibly, you marked it private).

    • status set to open

    my repo is visible in the site hub.darcs.ne and is not private. However I still have trouble with ssh config, when I run yhe command sudo ssh abdel@hub.darcs.net it returns, The authenticity of host 'hub.darcs.net (173.255.219.222)' can't be established. RSA key fingerprint is 31:b9:1c:ec:83:4d:fe:45:4d:9a:61:ba:f4:72:5c:eb. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'hub.darcs.net,173.255.219.222' (RSA) to the list of known hosts. Permission denied (publickey). Have I missed something for ssh. I generate ssh public key with ssh-keygen -t rsa -f ~/.ssh/abdel and I copied this key in my account setting.

  • Hi abdel, I don't see any "darcsden" repo under the abdel account. Just your two maths repos.

    The authenticity warning is normal the first time you connect with ssh.

    Can you check that you've pasted all of your public ssh key (id_rsa.pub) correctly, and check "How do I configure ssh access?" and "Why is ssh or darcs push to hub.darcs.net still failing?" on the front page for other configuration issues.

    • status set to closed

    Hi Simon , I have now the following problem : the command darcs push abdel@hub.darcs.net:darcsden --set-default returns the failure message : --------------- darcs failed: Not a repository: abdel@hub.darcs.net:darcsden ((scp) failed to fetch: abdel@hub.darcs.net:darcsden//_darcs/inventory)

    HINT: Do you have the right URI for the repository?

      If so, check with the repository owner to see if the following files
      are readable:
    
        1. _darcs/format    - might not exist; that's OK
        2. _darcs/inventory - should exist if #1 is missing
        3. _darcs/hashed_inventory - should exist if #2 is missing

    I added what is proposed in FAQ in the files ~/.ssh/config and /etc/ssh/sshd_config but this does not help. Thanks

    • status set to open
  • When you "test your ssh access. You should see:

    $ ssh YOU@hub.darcs.net
    PTY allocation request failed on channel 0
    shell request failed on channel 0"

    ... does it work ?

  • And what is your darcs --version ?

  • My darcs version is 2.8.4 ( + 1 patch) ssh abdel@hub.darcs.net returbs Permission denied (publickey) My ~/.ssh/config is the following -------- # Package generated configuration file

    Port 22

    Protocol 2

    LogLevel INFO

    RSAAuthentication yes PubkeyAuthentication yes

    RhostsRSAAuthentication no HostbasedAuthentication no

    ChallengeResponseAuthentication no

    PasswordAuthentication yes

    Host hub.darcs.net ControlMaster no ForwardAgent no ForwardX11 no -----

  • I would try removing the ~/.ssh/config file temporarily. And add -v to the ssh command to find more clues. And double check your public key, for line breaks or truncation or typos, and see if the same key lets you authenticate on other sites.

    • status set to closed

    I copied the entire file id_rsa.pub to my account setting, and not only the key as I previously did. I works now for me and I can push to darcs. Many thanks.

  • Excellent.