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:35aead47-99e5-ca76-6003-9ec4587ce965 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD5E:3A0D5A:1BD322B:26EE9CF:6A5F3D2E |
| html-safe-nonce | da0d4c644d5ea3dc1ddbae4b972535391c9361ccbe839f46555af9194a57ad8b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDVFOjNBMEQ1QToxQkQzMjJCOjI2RUU5Q0Y6NkE1RjNEMkUiLCJ2aXNpdG9yX2lkIjoiNzk3OTIxODAyNDE0MTg5NzAwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 61ef37d9431c7c8f0cdcf01344780ea4782927f16dde7a505141190b1e5c9482 |
| 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 | ab2497d9345a59709926b385d88458fa5932c82ec066288448eb68b34cbcbbda |
| 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 | ba0ac57287507693938b0a2de45402a22cda0785 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width