RE: XCode and subversion
RE: XCode and subversion
- Subject: RE: XCode and subversion
- From: "Bas Scheffers" <email@hidden>
- Date: Mon, 19 Dec 2005 08:37:03 -0000 (GMT)
- Importance: Normal
The passphrase is to encrypt your key, it is not used to let you in.
Theoreticaly, it should let you in after the passphrasse IF the key is
also in authorized_keys on the server.
I recommend creating a key without passphrase, then put the contents of
<key>.pub in .ssh/authorized_keys on the server. (make sure it is owned by
the actual user and to chmod it to 600) This works best if the
"ServerUserName" is the same as the local username. The you should be able
to just do "ssh hostname" and be let in straight away. If not, check the
server settings to see if public key logins are allowed.
Once that works without a hich, SSH in XCode should be a breeze.
Hope that helps,
Bas.
Nicholas Crosbie said:
>
>
>
I'm trying to get XCode 2.2 to talk to a subversion
>
repository via a client.
>
>
I am not a server administrator, so I'll list all that
>
I've done/assumed, even if
>
painfully obvious.
>
>
1. I opted for svnserve (cf. apache), and assumed that
>
only the
>
server computer requires subversion/svnserve to be
>
installed (i.e. the client
>
only needs to "ssh into" the server)
>
>
2. followed the XCode 2.2 documentation for
>
installing/accessing
>
subversion, creating a subversion users group,
>
changing permissions etc.
>
>
Note that I installed a fsfs repository, i.e.
>
>
svnadmin create --fs-type fsfs /svnrep
>
>
>
3. I configured the SSH environment as per the XCode
>
manual; all goes
>
well until I get to step five of "Configuring Your SSH
>
Environment".
>
>
I "ssh into" the server with
>
>
%ssh <ServerUserAccount>@<ServerIPAddress>
>
>
This prompts for a password. At this point I am
>
**unable** to login with
>
my client passphrase (which I just set up - see
>
"Configuring Your SSH Environment"),
>
but **can** login with my password for
>
ServerUserAccount.
>
>
4. imported and checked out a project into the
>
repository as per the XCode manual.
>
>
>
5. tried update and compare revisions etc. from within
>
XCode from the client computer.
>
>
In the XCode general project settings, for "subversion
>
tool path" I put:
>
>
svn+ssh://<ServerUserAccount>@<ServerIPAddress>/usr/local/bin/svn
>
>
**this does not work**
>
>
If I use "/usr/local/bin/svn" for "subversion
>
tool path" when
>
accessing the repository from within XCode - but
>
directly on the server machine
>
(i.e. not via a client) - **it does work**.
>
>
Note that I've also tried adding the equivalent of the
>
following to the authorized_keys file.
>
>
"command="/usr/local/bin/svnserve -t --tunnel-user
>
denis -r /home/svn/
>
repositories" ssh
>
-dss <here follows the key>
>
>
>
Nicholas Crosbie
>
>
>
>
>
>
>
Send instant messages to your online friends http://au.messenger.yahoo.com
>
_______________________________________________
>
Do not post admin requests to the list. They will be ignored.
>
Cocoa-dev mailing list (email@hidden)
>
Help/Unsubscribe/Update your Subscription:
>
>
This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden