Subversion ignoring “--password” and “--username” options

后端 未结 7 1693
别跟我提以往
别跟我提以往 2020-12-13 06:14

When I try to do any svn command and supply the --username and/or --password options, it prompts me for my password anyways, and always will attemp

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-13 06:32

    The prompt you're getting doesn't look like Subversion asking you for a password, it looks like ssh asking for a password. So my guess is that you have checked out an svn+ssh:// checkout, not an svn:// or http:// or https:// checkout.

    IIRC all the options you're trying only work for the svn/http/https checkouts. Can you run svn info to confirm what kind of repository you are using ?

    If you are using ssh, you should set up key-based authentication so that your scripts will work without prompting for a password.

提交回复
热议问题