Karl Fogel <kfo...@red-bean.com> writes: > 4. In ~jrandom/.ssh/authorized_keys, put this line: > > command="/usr/bin/bzr serve --inet --allow-writes --directory=/src/bzr" > ssh-rsa <<<LONG BASE64 PUBLIC KEY>>> jran...@clientcomment
Should be "/srv/bzr", not "/src/bzr", of course. Typo. > NOTE: everything from "ssh-rsa ..." on is either from id_rsa.pub as > supplied by jrandom, or is a dedicated-use public key supplied by > jrandom. In the latter case, jrandom would have something like > this in .ssh/config on the client side: > > Host bzr.sv.gnu.org > IdentityFile ~/.ssh/savannah_id_rsa > > 5. (paranoia) Do 'chmod 600 ~jrandom/.ssh ~jrandom/.ssh/authorized_keys' That should be chmod 700 ~jrandom/.ssh && chmod 600 ~jrandom/.ssh/authorized_keys ...which is what I actually tested with. Again, sorry for the typo. -Karl