From 9b212ed0eff08fc6c652651cdce80e277d68ceca Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Sun, 6 Feb 2011 06:23:37 +0530 Subject: [PATCH] (minor) doc the effect of openssh 5.6 more clearly --- doc/report-output.mkd | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/report-output.mkd b/doc/report-output.mkd index e85db22..a876b61 100644 --- a/doc/report-output.mkd +++ b/doc/report-output.mkd @@ -13,6 +13,7 @@ In this document: * the "info" command * interpreting the output * using patterns to limit output + * side note: openssh 5.6 * the "expand" command ---- @@ -103,6 +104,24 @@ The pattern is also mandatory when an admin wants to find out what access some *other* user has, which you may have guessed from the syntax in the "usage" line above. + + +#### side note: openssh 5.6 + +It used to be that the gitolite documentation would say "just use `ssh +git@server`" in the past, because gitolite defaults to the "info" command if +no command is passed. + +However, starting with [openssh 5.6][openssh56], this won't work. Openssh +will now "Kill channel when pty allocation requests fail". This means that +gitolite is not even invoked; you only get a message about pty allocation +failure, followed by "connection closed". + +So now you have to use an explicit "info" command, (`ssh git@server info`) or +add the `-T` option to ssh (`ssh -T git@server`). + +[openssh56]: http://www.openssh.org/txt/release-5.6 + ### the "expand" command