Reputation: 143795
Occasionally, when I update with svn, it asks the password for the ssh at the beginning, then updates a bunch of files, then asks it stops and asks it again to continue. What exactly is the reason for this ?
Upvotes: 8
Views: 2383
Reputation: 1638
From Version control with subversion:
When using svn+ssh:// URLs to access a repository, remember that it's the ssh program prompting for authentication, and not the svn client program. That means there's no automatic password-caching going on (see the section called "Client Credentials Caching"). The Subversion client often makes multiple connections to the repository, though users don't normally notice this due to the password caching feature. When using svn+ssh:// URLs, however, users may be annoyed by ssh repeatedly asking for a password for every outbound connection. The solution is to use a separate SSH password-caching tool such as ssh-agent on a Unix-like system, or pageant on Windows.
Upvotes: 12
Reputation: 7495
Maybe your connection to SVN server was reset and your client automatically re-established it which caused asking for your password? If SVN server is implemented as PHP module, there maybe some time limit for server to answer client's requests. What file is being updated when you encounter this problem? Maybe connection is reset when you try to update a big file?
Upvotes: 0