Any other suggestion besides doing changes in authorized_keys ????
Thanks in Advance.
HimNG
I think this error is coming from parse_soc function in gitolite-shell program.
sub parse_soc {
my $soc = $ENV{SSH_ORIGINAL_COMMAND};
$soc ||= 'info';
my $git_commands = "git-upload-pack|git-receive-pack|git-upload-archive";
if ( $soc =~ m(^($git_commands) '/?(.*?)(?:\.git(\d)?)?'$) ) {
my ( $verb, $repo, $trace_level ) = ( $1, $2, $3 );
Can anyone help with this pattern match $soc =~ m(^($git_commands) '/?(.*?)(?:\.git(\d)?)?'$) ).
or What should be value of $verb, $repo , $trace_value so that i can change this expression according to..
Warm Thanks
I'll second milki's comment: This looks like you are attempting to use shell commands with a gitolite account. Have you set up your account per the documentation here: http://gitolite.com/gitolite/sts.html#giving-shell ?
On Tuesday, 21 January 2014 01:18:16 UTC+5:30, milki wrote:I think this error is coming from parse_soc function in gitolite-shell program.
> You are attempting to use a gitolite managed ssh key to interact with your system and using non-gitolite commands. You most likely want to add a separate non-gitolite ssh key and a non-gitolite user to perform these commands.