43 In what follows, we assume that your username is <systemitem |
43 In what follows, we assume that your username is <systemitem |
44 class="username">jay</systemitem>, that you usually sit at a machine called |
44 class="username">jay</systemitem>, that you usually sit at a machine called |
45 <systemitem class="systemname">spoon</systemitem> and you have |
45 <systemitem class="systemname">spoon</systemitem> and you have |
46 installed mercurial-server on <systemitem |
46 installed mercurial-server on <systemitem |
47 class="systemname">jeeves</systemitem> using the package management system (see the README for more on installation). We assume that you have created your SSH public key, set up your SSH agent with this key, and that this key gives you access to <systemitem |
47 class="systemname">jeeves</systemitem> using the package management system (see the README for more on installation). We assume that you have created your SSH public key, set up your SSH agent with this key, and that this key gives you access to <systemitem |
48 class="systemname">jeeves</systemitem>. |
48 class="systemname">jeeves</systemitem>. |
49 </para> |
49 </para> |
50 <screen><computeroutput>jay@spoon:~$ </computeroutput><userinput>ssh -A jeeves</userinput> |
50 <screen><computeroutput>jay@spoon:~$ </computeroutput><userinput>ssh -A jeeves</userinput> |
51 <computeroutput>jay@jeeves:~$ </computeroutput><userinput>ssh-add -L > my-key</userinput> |
51 <computeroutput>jay@jeeves:~$ </computeroutput><userinput>ssh-add -L > my-key</userinput> |
52 <computeroutput>jay@jeeves:~$ </computeroutput><userinput>sudo mkdir -p /etc/mercurial-server/keys/root/jay</userinput> |
52 <computeroutput>jay@jeeves:~$ </computeroutput><userinput>sudo mkdir -p /etc/mercurial-server/keys/root/jay</userinput> |
53 <computeroutput>jay@jeeves:~$ </computeroutput><userinput>sudo cp my-key /etc/mercurial-server/keys/root/jay/spoon</userinput> |
53 <computeroutput>jay@jeeves:~$ </computeroutput><userinput>sudo cp my-key /etc/mercurial-server/keys/root/jay/spoon</userinput> |