Skip to content

Instantly share code, notes, and snippets.

@ahultgren
Last active August 29, 2015 13:59
Show Gist options
  • Save ahultgren/10444600 to your computer and use it in GitHub Desktop.
Save ahultgren/10444600 to your computer and use it in GitHub Desktop.
node ssh2 connection hopping attempt
var Connection = require('ssh2'),
net = require('net');
var conn1 = new Connectiweon(),
conn2 = new Connection();
conn1.on('ready', function() {
console.log('FIRST :: connection ready');
conn1.exec('nc github.com 22', function(err, stream) {
if (err) return console.log('FIRST :: exec error: ' + err);
conn2.connect({
sock: stream,
username: 'git',
agent: process.env.SSH_AUTH_SOCK,
debug: console.error.bind(console, 'debug2: ')
});
});
});
conn1.on('error', function (err) {
console.log('conn1 err: ', err);
});
conn1.connect({
host: 'host',
username: 'user',
agent: process.env.SSH_AUTH_SOCK,
debug: console.error.bind(console, 'debug: ')
});
conn2.on('ready', function() {
console.log('SECOND :: connection ready');
createAgentProxy(function(err, localsock, PROXY_SSH_AUTH_SOCK) {
if (err) throw err;
var opts = { env: { SSH_AUTH_SOCK: PROXY_SSH_AUTH_SOCK } };
conn2.exec('git clone git@github.com:ahultgren/async-eventemitter.git', function(err, stream) {
if (err) return console.log('SECOND :: exec error: ' + err);
stream.on('data', function(data) {
console.log(data.toString());
});
stream.on('end', function() {
conn1.end(); // close parent (and this) connection
});
});
});
});
conn2.on('error', function (err) {
console.log('conn2 err: ', err);
});
function createAgentProxy(cb) {
var proxyagentsockpath = '/tmp/somerandomname.sock',
calledCb = false;
conn2.exec('nc -U ' + proxyagentsockpath + ' &', function(err, stream) {
if (err) return cb(err);
var localagentsocket = new net.Socket();
localagentsocket.on('connect', function() {
console.log("AGENTPROXY CONNECTED");
calledCb = true;
cb(null, localagentsocket, proxyagentsockpath);
}).on('error', function(err) {
if (!calledCb) cb(err);
});
stream.pipe(localagentsocket).pipe(stream);
localagentsocket.connect(process.env.SSH_AUTH_SOCK);
});
}
debug: DEBUG: Parser: STATE_INIT
debug: DEBUG: Parser: STATE_GREETING
debug: DEBUG: Parser: STATE_HEADER
debug: DEBUG: Connection: Server ident: 'SSH-2.0-OpenSSH_5.3'
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 8)
debug: DEBUG: Connection: Sending KEXINIT
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: pktLen:836,padLen:10,remainLen:832
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: KEXINIT
debug: DEBUG: Connection: Comparing KEXInits...
debug: DEBUG: (local) Server->Client ciphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc,arcfour256,arcfour128,cast128-cbc,arcfour
debug: DEBUG: (remote) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug: DEBUG: Connection: Server->Client Cipher: aes256-ctr
debug: DEBUG: (local) Client->Server ciphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc,arcfour256,arcfour128,cast128-cbc,arcfour
debug: DEBUG: (remote) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug: DEBUG: Connection: Client->Server Cipher: aes256-ctr
debug: DEBUG: (local) KEX algorithms: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug: DEBUG: (remote) KEX algorithms: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug: DEBUG: Connection: KEX: diffie-hellman-group14-sha1
debug: DEBUG: (local) Client->Server HMAC algorithms: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
debug: DEBUG: (remote) Client->Server HMAC algorithms: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug: DEBUG: Connection: Client->Server HMAC: hmac-md5
debug: DEBUG: (local) Server->Client HMAC algorithms: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
debug: DEBUG: (remote) Server->Client HMAC algorithms: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug: DEBUG: Connection: Server->Client HMAC: hmac-md5
debug: DEBUG: (local) Client->Server compression algorithms: none
debug: DEBUG: (remote) Client->Server compression algorithms: none,zlib@openssh.com
debug: DEBUG: Connection: Client->Server Compression: none
debug: DEBUG: (local) Server->Client compression algorithms: none
debug: DEBUG: (remote) Server->Client compression algorithms: none,zlib@openssh.com
debug: DEBUG: Connection: Server->Client Compression: none
debug: DEBUG: (local) Host key formats: ssh-rsa,ssh-dss
debug: DEBUG: (remote) Host key formats: ssh-rsa,ssh-dss
debug: DEBUG: Connection: Host key format: ssh-rsa
debug: DEBUG: Connection: Sending KEXDH_INIT
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 8)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: pktLen:828,padLen:9,remainLen:824
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: KEXDH_REPLY
debug: DEBUG: Connection: Checking host key format
debug: DEBUG: Connection: Checking signature format
debug: DEBUG: Connection: Verifying signature
debug: DEBUG: Connection: Sending NEWKEYS
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 8)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: pktLen:12,padLen:10,remainLen:8
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: NEWKEYS
debug: DEBUG: Connection: Sending SERVICE_REQUEST
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:28,padLen:10,remainLen:16
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: SERVICE_ACCEPT
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Connection: Sending USERAUTH_REQUEST (publickey -- check)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:460,padLen:10,remainLen:448
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: USERAUTH_PK_OK
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Connection: Sending USERAUTH_REQUEST (publickey)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:12,padLen:10,remainLen:0
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: USERAUTH_SUCCESS
FIRST :: connection ready
debug: DEBUG: Connection: Sending CHANNEL_OPEN
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:28,padLen:10,remainLen:16
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_OPEN_CONFIRMATION
debug: DEBUG: Channel: Sent CHANNEL_REQUEST (exec)
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:28,padLen:18,remainLen:16
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_WINDOW_ADJUST
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:12,padLen:6,remainLen:0
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_SUCCESS
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:556,padLen:5,remainLen:544
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_DATA
debug2: DEBUG: Parser: STATE_INIT
debug2: DEBUG: Parser: STATE_GREETING
debug2: DEBUG: Parser: STATE_HEADER
debug2: DEBUG: Connection: Server ident: 'SSH-2.0-libssh-0.6.3'
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 8)
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: pktLen:516,padLen:10,remainLen:512
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: KEXINIT
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 8)
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug2: DEBUG: Connection: Sending KEXINIT
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug2: DEBUG: Connection: Comparing KEXInits...
debug2: DEBUG: (local) Server->Client ciphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc,arcfour256,arcfour128,cast128-cbc,arcfour
debug2: DEBUG: (remote) Server->Client ciphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc,des-cbc-ssh1
debug2: DEBUG: Connection: Server->Client Cipher: aes256-ctr
debug2: DEBUG: (local) Client->Server ciphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc,arcfour256,arcfour128,cast128-cbc,arcfour
debug2: DEBUG: (remote) Client->Server ciphers: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc,des-cbc-ssh1
debug2: DEBUG: Connection: Client->Server Cipher: aes256-ctr
debug2: DEBUG: (local) KEX algorithms: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: DEBUG: (remote) KEX algorithms: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: DEBUG: Connection: KEX: diffie-hellman-group14-sha1
debug2: DEBUG: (local) Client->Server HMAC algorithms: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
debug2: DEBUG: (remote) Client->Server HMAC algorithms: hmac-sha1,hmac-sha2-256,hmac-sha2-512
debug2: DEBUG: Connection: Client->Server HMAC: hmac-sha1
debug2: DEBUG: (local) Server->Client HMAC algorithms: hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
debug2: DEBUG: (remote) Server->Client HMAC algorithms: hmac-sha1,hmac-sha2-256,hmac-sha2-512
debug2: DEBUG: Connection: Server->Client HMAC: hmac-sha1
debug2: DEBUG: (local) Client->Server compression algorithms: none
debug2: DEBUG: (remote) Client->Server compression algorithms: none,zlib,zlib@openssh.com
debug2: DEBUG: Connection: Client->Server Compression: none
debug2: DEBUG: (local) Server->Client compression algorithms: none
debug2: DEBUG: (remote) Server->Client compression algorithms: none,zlib,zlib@openssh.com
debug2: DEBUG: Connection: Server->Client Compression: none
debug2: DEBUG: (local) Host key formats: ssh-rsa,ssh-dss
debug2: DEBUG: (remote) Host key formats: ssh-dss,ssh-rsa
debug2: DEBUG: Connection: Host key format: ssh-rsa
debug2: DEBUG: Connection: Sending KEXDH_INIT
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:876,padLen:18,remainLen:864
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: pktLen:828,padLen:10,remainLen:824
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: KEXDH_REPLY
debug2: DEBUG: Connection: Checking host key format
debug2: DEBUG: Connection: Checking signature format
debug2: DEBUG: Connection: Verifying signature
debug2: DEBUG: Connection: Sending NEWKEYS
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 8)
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: pktLen:12,padLen:10,remainLen:8
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: NEWKEYS
debug2: DEBUG: Connection: Sending SERVICE_REQUEST
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:76,padLen:14,remainLen:64
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:28,padLen:10,remainLen:16
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: SERVICE_ACCEPT
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug2: DEBUG: Connection: Sending USERAUTH_REQUEST (publickey -- check)
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:76,padLen:14,remainLen:64
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:28,padLen:12,remainLen:16
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: USERAUTH_FAILURE
debug2: DEBUG: Connection: Sending USERAUTH_REQUEST (publickey -- check)
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:348,padLen:14,remainLen:336
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:300,padLen:4,remainLen:288
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: USERAUTH_PK_OK
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug2: DEBUG: Connection: Sending USERAUTH_REQUEST (publickey)
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:60,padLen:14,remainLen:48
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:12,padLen:10,remainLen:0
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: USERAUTH_SUCCESS
SECOND :: connection ready
debug2: DEBUG: Connection: Sending CHANNEL_OPEN
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:76,padLen:14,remainLen:64
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:28,padLen:10,remainLen:16
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_OPEN_CONFIRMATION
debug2: DEBUG: Channel: Sent CHANNEL_REQUEST (exec)
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:460,padLen:14,remainLen:448
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:12,padLen:6,remainLen:0
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_SUCCESS
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:236,padLen:11,remainLen:224
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_EXTENDED_DATA
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:44,padLen:18,remainLen:32
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_REQUEST
debug2: DEBUG: Channel: Sent CLOSE
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:12,padLen:6,remainLen:0
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_EOF
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:12,padLen:6,remainLen:0
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_CLOSE
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
AGENTPROXY CONNECTED
debug2: DEBUG: Connection: Sending CHANNEL_OPEN
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:76,padLen:14,remainLen:64
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:28,padLen:10,remainLen:16
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_OPEN_CONFIRMATION
debug2: DEBUG: Channel: Sent CHANNEL_REQUEST (exec)
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:60,padLen:14,remainLen:48
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:12,padLen:6,remainLen:0
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_SUCCESS
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKET
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: pktLen:460,padLen:18,remainLen:448
debug: DEBUG: Parser: STATE_PACKETDATA
debug: DEBUG: Parser: Decrypting
debug: DEBUG: Parser: hmacSize:16
debug: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug: DEBUG: Parser: Verifying MAC
debug: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:268,padLen:18,remainLen:256
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_EXTENDED_DATA
Invalid command: 'git clone git@github.com:ahultgren/async-eventemitter.git'
You appear to be using ssh to clone a git:// URL.
Make sure your core.gitProxy config option and the
GIT_PROXY_COMMAND environment variable are NOT set.
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:44,padLen:18,remainLen:32
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_REQUEST
debug2: DEBUG: Channel: Sent CLOSE
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug: DEBUG: Channel: Sent CHANNEL_DATA
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:12,padLen:6,remainLen:0
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_EOF
debug: DEBUG: Connection: Sending DISCONNECT
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug2: DEBUG: Parser: STATE_PACKET
debug2: DEBUG: Parser: Decrypting
debug2: DEBUG: Parser: pktLen:12,padLen:6,remainLen:0
debug2: DEBUG: Parser: STATE_PACKETDATA
debug2: DEBUG: Parser: hmacSize:20
debug2: DEBUG: Parser: STATE_PACKETDATAVERIFY
debug2: DEBUG: Parser: Verifying MAC
debug2: DEBUG: Parser: STATE_PACKETDATAAFTER, packet: CHANNEL_CLOSE
debug2: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
debug: DEBUG: Parser: STATE_PACKETBEFORE (expecting 16)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment