From ce2e8b678889d4c683ce166796ae34bb53d6108f Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Sat, 29 May 2010 19:16:48 +0530 Subject: [PATCH] (minor) doc/6: mention putty/plink --- doc/6-ssh-troubleshooting.mkd | 49 +++++++++++++++++++++++------------ 1 file changed, 33 insertions(+), 16 deletions(-) diff --git a/doc/6-ssh-troubleshooting.mkd b/doc/6-ssh-troubleshooting.mkd index b996549..3341b8a 100644 --- a/doc/6-ssh-troubleshooting.mkd +++ b/doc/6-ssh-troubleshooting.mkd @@ -8,14 +8,15 @@ In this document: * ssh-agent problems * basic ssh troubleshooting for the main admin * basic ssh troubleshooting for a normal user - * details - * files on the server - * files on client - * why two keys on client - * some other tips and tricks - * giving shell access to gitolite users - * losing your admin key - * simulating ssh-copy-id + * windows issues + * details + * files on the server + * files on client + * why two keys on client + * some other tips and tricks + * giving shell access to gitolite users + * losing your admin key + * simulating ssh-copy-id ---- @@ -233,15 +234,31 @@ you had command line access to the server *before* you were added as a gitolite user. If you send that same key to your gitolite admin to include in the admin repo, it won't work. For reasons why, see below. + + +### windows issues + +On windows, I have only used msysgit, and the openssh that comes with it. +Over time, I have grown to distrust putty/plink due to the number of people +who seem to have trouble when those beasts are involved (I myself have never +used them for any kind of git access). If you have unusual ssh problems that +just don't seem to have any explanation, try removing all traces of +putty/plink, including environment variables, etc., and then try again. + +If you can offer an *authoritative* account of the complications involved, and +how to resolve them and get things working, I'd be happy to credit you and +include it, either directly here if it is short enough or just an external +link, or in contrib/ if it's a longer piece of text. + - + ### details Here's how it all hangs together. - + #### files on the server @@ -273,7 +290,7 @@ Here's how it all hangs together. argument `sitaram`. This is how gitolite is invoked, (and is told the user logging in is "sitaram"). - + #### files on client @@ -345,7 +362,7 @@ Here's how it all hangs together. - + #### why two keys on client @@ -414,11 +431,11 @@ That should do it. - + ### some other tips and tricks - + #### giving shell access to gitolite users @@ -446,7 +463,7 @@ access would not manage to get himself shell access. Giving someone shell access requires that you should have shell access in the first place, so the simplest way is to enable it from the server side only. - + #### losing your admin key @@ -456,7 +473,7 @@ gitolite-admin repository with a fresh key, take a look at the of course. The top of the script has useful information on how to use it and what it needs. - + #### simulating ssh-copy-id