Title: Failed getting Banner · Issue #328 · nodegit/nodegit · GitHub
Open Graph Title: Failed getting Banner · Issue #328 · nodegit/nodegit
X Title: Failed getting Banner · Issue #328 · nodegit/nodegit
Description: Hi, I try to clone a git repository from openshift with the following code: var nodegit = require("nodegit"); var Git = function (sshUrl) { this._sshUrl = sshUrl; } Git.prototype.clone = function (cb) { console.log(__dirname) var sshKeyS...
Open Graph Description: Hi, I try to clone a git repository from openshift with the following code: var nodegit = require("nodegit"); var Git = function (sshUrl) { this._sshUrl = sshUrl; } Git.prototype.clone = function (...
X Description: Hi, I try to clone a git repository from openshift with the following code: var nodegit = require("nodegit"); var Git = function (sshUrl) { this._sshUrl = sshUrl; } Git.prototype.clone = ...
Opengraph URL: https://github.com/nodegit/nodegit/issues/328
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Failed getting Banner","articleBody":"Hi,\n\nI try to clone a git repository from openshift with the following code:\n\n``` javascript\nvar nodegit = require(\"nodegit\");\n\nvar Git = function (sshUrl) {\n this._sshUrl = sshUrl;\n}\n\nGit.prototype.clone = function (cb) {\n console.log(__dirname)\n var sshKeySet = nodegit.Cred.sshKeyNew,\n user = 'username',\n pass = 'pass',\n path = '/tmp/somewhere',\n publickey = __dirname + '/ssh.pub',\n privatekey = __dirname + '/ssh',\n options = {\n remoteCallbacks: {\n credentials: function () {\n return sshKeySet(user, publickey, privatekey, pass);\n }\n }\n };\n nodegit.Clone.clone(this._sshUrl, 'tmp', options).then(function (repo) {\n console.log('repo');\n console.log('done')\n }, function () {\n console.log(arguments);\n });\n};\n\nvar git = new Git('ssh://id@url.rhcloud.com/~/git/appname.git');\ngit.clone(function () {\n console.log('callback');\n});\n```\n\nBut the code does not connect to ssh. The following error will be thrown:\n\n{ '0': [Error: Failed to start SSH session: Failed getting banner] }\n\nIs there a solution for it?\n\nCheers,\nBjörn\n","author":{"url":"https://github.com/DaspawnW","@type":"Person","name":"DaspawnW"},"datePublished":"2014-12-13T08:47:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/328/nodegit/issues/328"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:12a96c05-9ff9-40e4-93ec-d3578dd7ee03 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B418:30460E:7DF7434:A7A0449:6A5E21E7 |
| html-safe-nonce | 530f4813e9ab2dfd5fa65d19b37906ba84de0d719e76ec0f2cc3b3b1e868db06 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDE4OjMwNDYwRTo3REY3NDM0OkE3QTA0NDk6NkE1RTIxRTciLCJ2aXNpdG9yX2lkIjoiNjEyNDUwMDQwMDk2Njg2OTQ3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b93d3cb80471abfda4da812578b4e5f6ab46ac23feda112fd398fbc307988916 |
| hovercard-subject-tag | issue:51881494 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/328/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c80da687245a73a7aadb6c445290dbf5d5a4aad5ba1cb6567a51a78887206c1/nodegit/nodegit/issues/328 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c80da687245a73a7aadb6c445290dbf5d5a4aad5ba1cb6567a51a78887206c1/nodegit/nodegit/issues/328 |
| og:image:alt | Hi, I try to clone a git repository from openshift with the following code: var nodegit = require("nodegit"); var Git = function (sshUrl) { this._sshUrl = sshUrl; } Git.prototype.clone = function (... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DaspawnW |
| hostname | github.com |
| expected-hostname | github.com |
| None | e5010f4d2748a3cbef86e1580413ff14701bd99f255268dfb4a2857c77e2cc7c |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d23604c4a8ce0274b4c71bb2adbe6e1c9d5904f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width