Mercurial > hgbook
comparison en/collab.tex @ 419:97e929385442
Small typos, plus a perl regexp match. It was stripping newlines!
author | Taavi Burns <taavi@taaviburns.ca> |
---|---|
date | Sun, 31 Aug 2008 12:14:23 -0400 |
parents | f8a2fe77908d |
children |
comparison
equal
deleted
inserted
replaced
418:1d277d6aa187 | 419:97e929385442 |
---|---|
459 the \command{ssh} command is installed (it's usually in | 459 the \command{ssh} command is installed (it's usually in |
460 \dirname{/usr/bin}). In the unlikely event that it isn't present, | 460 \dirname{/usr/bin}). In the unlikely event that it isn't present, |
461 take a look at your system documentation to figure out how to install | 461 take a look at your system documentation to figure out how to install |
462 it. | 462 it. |
463 | 463 |
464 On Windows, you'll first need to choose download a suitable ssh | 464 On Windows, you'll first need to download a suitable ssh |
465 client. There are two alternatives. | 465 client. There are two alternatives. |
466 \begin{itemize} | 466 \begin{itemize} |
467 \item Simon Tatham's excellent PuTTY package~\cite{web:putty} provides | 467 \item Simon Tatham's excellent PuTTY package~\cite{web:putty} provides |
468 a complete suite of ssh client commands. | 468 a complete suite of ssh client commands. |
469 \item If you have a high tolerance for pain, you can use the Cygwin | 469 \item If you have a high tolerance for pain, you can use the Cygwin |
493 On Windows, if you're using PuTTY, the \command{puttygen} command is | 493 On Windows, if you're using PuTTY, the \command{puttygen} command is |
494 what you'll need. | 494 what you'll need. |
495 | 495 |
496 When you generate a key pair, it's usually \emph{highly} advisable to | 496 When you generate a key pair, it's usually \emph{highly} advisable to |
497 protect it with a passphrase. (The only time that you might not want | 497 protect it with a passphrase. (The only time that you might not want |
498 to do this id when you're using the ssh protocol for automated tasks | 498 to do this is when you're using the ssh protocol for automated tasks |
499 on a secure network.) | 499 on a secure network.) |
500 | 500 |
501 Simply generating a key pair isn't enough, however. You'll need to | 501 Simply generating a key pair isn't enough, however. You'll need to |
502 add the public key to the set of authorised keys for whatever user | 502 add the public key to the set of authorised keys for whatever user |
503 you're logging in remotely as. For servers using OpenSSH (the vast | 503 you're logging in remotely as. For servers using OpenSSH (the vast |
735 | 735 |
736 On Unix-like systems, it's common for users to have a subdirectory | 736 On Unix-like systems, it's common for users to have a subdirectory |
737 named something like \dirname{public\_html} in their home directory, | 737 named something like \dirname{public\_html} in their home directory, |
738 from which they can serve up web pages. A file named \filename{foo} | 738 from which they can serve up web pages. A file named \filename{foo} |
739 in this directory will be accessible at a URL of the form | 739 in this directory will be accessible at a URL of the form |
740 \texttt{http://www.example.com/\~username/foo}. | 740 \texttt{http://www.example.com/\~{}username/foo}. |
741 | 741 |
742 To get started, find the \sfilename{hgweb.cgi} script that should be | 742 To get started, find the \sfilename{hgweb.cgi} script that should be |
743 present in your Mercurial installation. If you can't quickly find a | 743 present in your Mercurial installation. If you can't quickly find a |
744 local copy on your system, simply download one from the master | 744 local copy on your system, simply download one from the master |
745 Mercurial repository at | 745 Mercurial repository at |