내 설정은 우분투 - gitolite - msysgit입니다. 이 튜토리얼을 수행 한 후 :새 사용자로 git 저장소를 복제 할 수 없습니다.
https://sites.google.com/site/senawario/home/gitolite-tutorial
모든 것이 잘 작동합니다.
은 그래서 수정하고 커밋 - 설정 파일을 밀어 :repo gitolite-admin
RW+ = id_rsa
repo testing
RW+ = @all
repo project-euler
RW+ = tester
Everyhting는 등 업데이트있어
지금은 "테스터"사용자와이를 테스트하고 싶지만 내가 할 수 없습니다. clone tester @ myServer : 프로젝트 - 오일러 작업을해야하지 않습니까? 내가 위를하려고하면
내가 얻을 :
$ git clone [email protected]:project-euler
Cloning into project-euler...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
나는 내가 자식을 관리자에게 사용되는 동일한 시스템에서 이것을 시도했다.
내가 이것을 사용하려고하면 :
git [email protected]:project-euler
내가 얻을 : 망할 놈의 사용자가 액세스 할 수 없기 때문에 내가 생각하는 정상
id_rsa_gsg_keypair를 거부 프로젝트 오일러에 대한 R 액세스를.
아이디어가 있으십니까? 언급 한 바와 같이
는 @VonC의 링크를 따라 난 후에 나는 설정 파일을 만들었습니다. 나는 여전히 문제가있어서 ssh -v를 문제가있는 사용자와 함께 즐겁게한다. 출력은 다음과 같습니다OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Reading configuration data /c/Users/Stefanos/.ssh/config
debug1: Applying options for 192.168.1.3
debug1: Connecting to 192.168.1.3 [192.168.1.3] port 22.
debug1: Connection established.
debug1: identity file /c/Users/Stefanos/.ssh/tester type 1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8p1 Debian-1ubuntu3
debug1: match: OpenSSH_5.8p1 Debian-1ubuntu3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.6
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '192.168.1.3' is known and matches the RSA host key.
debug1: Found key in /c/Users/Stefanos/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /c/Users/Stefanos/.ssh/tester
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).
UPDATE
내가 자식 clong 자식 @ 서버를 사용하여 REPO를 복제 관리 : REPO -하지 테스터 @ 서버 : REPO.
또한 내가 설정 파일이있는 경우 내가 관리자로 로그인 할 수 없습니다. 테스터로만 기록됩니다. 아마도이를 구성하는 방법이 있어야합니다. 모든 도움에 감사드립니다.
* 테스터 *의 공개 키를 복사 했습니까? – Simon
키를/keydir 디렉토리에 복사 한 다음 변경된 것을 git 계정으로 푸시합니다. 모든 것이 효과가있었습니다. 저장소를 삭제하고 다시 복제 한 다음 새 키가 있었는지 확인하는 방법으로 두 번 확인했습니다. – FailedDev