[4eyes] How to avoid having to enter your password multiple times in MAT SVN
Brynjar Gretarsson
brynjargr at gmail.com
Thu Aug 12 15:31:48 PDT 2010
Here is Larrys response to my question on this issue.
Hi Brynjar, to prevent the server from asking you for your password twice
when you update your SVN repo using svn+ssh, you need to store the remote
hosts' key in your ~/.ssh/known_hosts file, and configure your SVN client to
use your username and password.
To store the remote servers' "host key" on your local machine, do the
following:
For a Mac (local machine):
Open a Terminal (shell) window and log into the SVN server: ssh
brynjar at svn.mat.ucsb.edu
If it's the first time, it will ask you if it's ok to store the remote
hosts' key:
ssh larry at svn.mat.ucsb.edu
The authenticity of host 'svn.mat.ucsb.edu (128.111.221.67)' can't be
established.
RSA key fingerprint is 45:b2:2b:bf:42:1f:1a:32:58:c1:
1c:75:44:c2:d0:13.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'svn.mat.ucsb.edu' (RSA) to the list of known
hosts.
larry at svn.mat.ucsb.edu's password:
This is the first password prompt you get when you update your SVN repo.
>From now on it won't appear.
For a Windows PC, do the same thing as above, but use a Putty window instead
of a Terminal window. Putty is a free terminal emulator for SSH, and is
available here:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html<http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html>
.
To get rid of the second password prompt you see when you update your repo,
you have to configure your local SVN client's work space to use your
username and password when you access your repo. How to do this depends on
the client.
I have an SVN repo on svn.mat.ucsb.edu, and I've been using Eclipse with the
Subversion plug-in quite a bit over the last year or so, and I never have to
enter my password when I update my repo. I just point and click.
Please try it and let me know how it goes. I prefer svn+ssh over https, but
if svn+ssh is just too much of a hassle, I'll create http accounts for you.
Larry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cs.ucsb.edu/pipermail/ilab-users/attachments/20100812/ff3f5d67/attachment.html>
More information about the Ilab-users
mailing list