gitolite and welcome message on ssh connection ?

464 views
Skip to first unread message

Sébastien Dionne

unread,
Feb 5, 2011, 6:02:28 PM2/5/11
to gito...@googlegroups.com
I was reading a blog about gitolite and there is a step that I can't
reproduce on my installation, and I want to know if there a specific
config that need to be added.
http://www.sysadmin-fr.org/fr/book/export/html/288

The blog it's in french.. but the part that I'm interested is this

.ssh/config

host gitolite
user git
hostname serveurgit
port 22
identityfile ~/.ssh/gituser

dev@devstation:~/.ssh$ ssh gitolite
PTY allocation request failed on channel 0
hello gituser, the gitolite version here is (unknown)
you have the following permissions:
R W monprojet-kitu
@ @ testing
Connection to serveurgit closed.


if I don't that on with my installation.. I only see

PTY allocation request failed on channel 0

Sitaram Chamarty

unread,
Feb 5, 2011, 7:42:42 PM2/5/11
to Sébastien Dionne, gito...@googlegroups.com
On Sat, Feb 05, 2011 at 06:02:28PM -0500, S�bastien Dionne wrote:

> if I don't that on with my installation.. I only see
>
> PTY allocation request failed on channel 0

see "NOTE" at the bottom of bullet #1 here:
http://sitaramc.github.com/gitolite/doc/ssh-troubleshooting.html#_basic_ssh_troubleshooting_for_the_admin

Sitaram Chamarty

unread,
Feb 5, 2011, 7:56:59 PM2/5/11
to Sébastien Dionne, gito...@googlegroups.com

sorry that does not properly *explain* the problem, although
it has enough info to *guess*.

I just updated the docs; see
http://sitaramc.github.com/gitolite/doc/report-output.html#_side_note_openssh_5_6

Sébastien Dionne

unread,
Feb 5, 2011, 8:00:03 PM2/5/11
to Sitaram Chamarty, gito...@googlegroups.com
GOOD.  that's clear

However, starting with openssh 5.6, this won't work. ...

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).


good.  I'll put that on my tutorial.

thanks

On Sat, Feb 5, 2011 at 7:56 PM, Sitaram Chamarty <sita...@gmail.com> wrote:
On Sun, Feb 06, 2011 at 06:12:42AM +0530, Sitaram Chamarty wrote:
> On Sat, Feb 05, 2011 at 06:02:28PM -0500, Sébastien Dionne wrote:
>
> > if I don't that on with my installation.. I only see
> >
> > PTY allocation request failed on channel 0
>
> see "NOTE" at the bottom of bullet #1 here:
> http://sitaramc.github.com/gitolite/doc/ssh-troubleshooting.html#_basic_ssh_troubleshooting_for_the_admin

Reply all
Reply to author
Forward
0 new messages