~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics/en/authentication.txt

  • Committer: Vincent Ladeuil
  • Date: 2008-05-09 16:40:21 UTC
  • mto: This revision was merged to the branch mainline in revision 3422.
  • Revision ID: v.ladeuil+lp@free.fr-20080509164021-kxtz21ozxnv16ivt
Fixed as per John's review.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
1. user and password
49
49
 
50
50
``FTP`` needs a (``user``, ``password``) to authenticate against a ``host``
51
 
(``SFTP`` can use either password or host key to authenticate, but since ssh agents
52
 
are a better and safer solution, we recommand their use and don't try to
53
 
provide an alternative, less secure, way do to so).
 
51
``SFTP`` can use either a password or a host key to authenticate. However,
 
52
ssh agents are a better, more secure solution. So we have chosen to not provide
 
53
our own less secure method.
54
54
 
55
55
2. user, realm and password
56
56
 
175
175
        # The leading '.' ensures that 'shp.net' alone doesn't match
176
176
        host=.shp.net
177
177
        user=joe
178
 
        # No pasword here, use ssh agents for providing either a password
179
 
        # or a host key
 
178
        # bzr don't support supplying a password for sftp,
 
179
        # consider using an ssh agent if you don't want to supply
 
180
        # a password interactively. (pageant, ssh-agent, etc)
180
181
 
181
182
HTTPS, SFTP servers and their proxy
182
183
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
183
184
 
184
 
At company.com, the server hosting released and integration branches is behind
185
 
a proxy, the two servers use different authentication policies::
 
185
At company.com, the server hosting release and integration branches is behind a
 
186
proxy, and the two branches use different authentication policies::
186
187
 
187
188
        [reference code]
188
189
        scheme=https
197
198
        host=dev.company.com
198
199
        path=/dev/integration
199
200
        user=user2
200
 
        # No password since we use host keys
201
201
        
202
202
        # proxy
203
203
        [proxy]