J'aimerais pouvoir utiliser une clé ssh pour l'authentification, tout en limitant les commandes pouvant être exécutées via le tunnel ssh.
Avec Subversion, j’ai atteint cet objectif en utilisant un fichier .ssh / registered_keys tel que:
command="/usr/local/bin/svnserve -t --tunnel-user matt -r /path/to/repository",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAABIetc...
J'ai essayé ceci avec "/ usr / bin / git-shell" dans la commande, mais je viens de recevoir le vieux fatal: What do you think I am? A shell?
message d'erreur génial .