2012-04-27 116 views
2
工作後

所以,長話短說,我不小心使用sysprep我的dev的服務器不是虛擬機我工作(我知道,太多的RDP窗口打開,睡眠剝奪,由於新的嬰兒)。遠程Git不sysprepping服務器

開發服務器工作正常,我改變了機器名回那是什麼,重新分配舊的IP地址。服務器上的其他所有東西似乎都能正常工作,但我無法遠程連接到git。我認爲它是gitolite或ssh相關的。

混帳克隆給我: 連接由192.168.10.20 致命關閉:遠程端掛機意外

這是我從SSH得到-v

OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 
debug1: Connecting to myserver [<serveripaddress>] port 22. 
debug1: Connection established. 
debug1: identity file /c/Users/me/.ssh/identity type -1 
debug1: identity file /c/Users/me/.ssh/id_rsa type 1 
debug1: identity file /c/Users/me/.ssh/id_dsa type -1 
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8 
debug1: match: OpenSSH_5.8 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 'myserver' is known and matches the RSA host key. 
debug1: Found key in /c/Users/me/.ssh/known_hosts:3 
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,password,keyboard-interactive 
debug1: Next authentication method: publickey 
debug1: Trying private key: /c/Users/me/.ssh/identity 
debug1: Offering public key: /c/Users/me/.ssh/id_rsa 
Connection closed by <serveripaddress> 

任何想法如何解決這非常讚賞。

+0

是否有在'/無功/日誌/ secure'服務器端的任何日誌? – VonC 2012-04-27 19:52:11

+0

我在日誌中沒有安全的子文件夾。日誌中唯一的其他文件很舊。 – Ian1971 2012-04-30 08:29:00

+0

啊,正在登錄到windows事件日誌。 「致命的:initgroups:git的:無效參數」 – Ian1971 2012-04-30 08:38:43

回答