[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Update files on server from local machine

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-27 12:42:58 CET

On Jan 27, 2006, at 12:02, Stefan Schwarzer wrote:

>>> - How do I checkout to my production server? Can I do this from
>>> my local machine? And if so how does the command - some sort of
>>> ssh+svn look like?
>> From your local machine, you would connect to the remote machine
>> using ssh. You need an ssh client on your local machine, and an
>> ssh server running on the production machine. ssh clients and
>> servers are built into Mac OS X / Linux / Unix / *BSD and similar
>> operating systems. For Windows, "PuTTY" is a popular ssh client,
>> but I'm not sure if any ssh servers are available (or possible).
>>> - Or is the only solution to install subversion on the production
>>> server to grep the repository from there? And if so how does the
>>> command - some sort of ssh+svn look like?
>> Yes, you would need to install the Subversion client on the
>> production machine. You don't need to run the Subversion server
>> there unless you've decided to make the production server also
>> host your Subversion repository.
> Hmm, taking the risk of being considered as stupid (I am a complete
> beginner in CVS anyway, so no problem with that... :-)):

Don't worry: there are no stupid questions, only stupid answers. :-)
Hope this answer is sufficiently helpful...

> I tried a lot to get this going. Reading again and again the svn
> manual, my final approach looked something like this:
> svn checkout svn+ssh://username@host.example.com/www/test

You first SSH to the web server, and run this command on the web
server's shell, yes? And "host.example.com" is the machine where your
repository is located—your local development machine? And firewall
settings on your local network are such that the web server will be
able to talk to your machine that way? (Specifically, the SSH port,
port 22, is open?)

> This would export the repository from my local machine (where the
> subversion repository resides) to the webserver. (!!)

It wouldn't export; it would check out. Export and checkout are two
distinct operations in Subversion which, while similar, are
different; know which one you want.

> But somehow it does not work. In the moment it tells me "No address
> associated with nodename".

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 27 12:45:11 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.