{"action":"opened","issue":{"url":"https://api.github.com/repos/mscdex/ssh2/issues/692","repository_url":"https://api.github.com/repos/mscdex/ssh2","labels_url":"https://api.github.com/repos/mscdex/ssh2/issues/692/labels{/name}","comments_url":"https://api.github.com/repos/mscdex/ssh2/issues/692/comments","events_url":"https://api.github.com/repos/mscdex/ssh2/issues/692/events","html_url":"https://github.com/mscdex/ssh2/issues/692","id":321838010,"number":692,"title":"I've install npm install ssh2","user":{"login":"jeganbalu","id":39130496,"avatar_url":"https://avatars1.githubusercontent.com/u/39130496?v=4","gravatar_id":"","url":"https://api.github.com/users/jeganbalu","html_url":"https://github.com/jeganbalu","followers_url":"https://api.github.com/users/jeganbalu/followers","following_url":"https://api.github.com/users/jeganbalu/following{/other_user}","gists_url":"https://api.github.com/users/jeganbalu/gists{/gist_id}","starred_url":"https://api.github.com/users/jeganbalu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeganbalu/subscriptions","organizations_url":"https://api.github.com/users/jeganbalu/orgs","repos_url":"https://api.github.com/users/jeganbalu/repos","events_url":"https://api.github.com/users/jeganbalu/events{/privacy}","received_events_url":"https://api.github.com/users/jeganbalu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-10T07:33:04Z","updated_at":"2018-05-10T07:33:04Z","closed_at":null,"author_association":"NONE","body":"I have try this code, But i don't no how to start.   \r\n\r\nvar Client = require('ssh2').Client;\r\n\r\nvar conn = new Client();\r\nconn.on('ready', function() {\r\n  console.log('Client :: ready');\r\n  conn.forwardOut('192.168.100.102', 8000, '127.0.0.1', 80, function(err, stream) {\r\n    if (err) throw err;\r\n    stream.on('close', function() {\r\n      console.log('TCP :: CLOSED');\r\n      conn.end();\r\n    }).on('data', function(data) {\r\n      console.log('TCP :: DATA: ' + data);\r\n    }).end([\r\n      'HEAD / HTTP/1.1',\r\n      'User-Agent: curl/7.27.0',\r\n      'Host: 127.0.0.1',\r\n      'Accept: */*',\r\n      'Connection: close',\r\n      '',\r\n      ''\r\n    ].join('\\r\\n'));\r\n  });\r\n}).connect({\r\n  host: '192.168.100.100',\r\n  port: 22,\r\n  username: 'frylock',\r\n  password: 'nodejsrules'\r\n});\r\n"}}
{"actor":{"display_login":"jeganbalu"}}