Fixup SSH key auth for project repos

This commit is contained in:
Nick O'Leary
2018-01-18 22:17:48 +00:00
parent f95b414d22
commit f7f795f58a
13 changed files with 130 additions and 57 deletions

View File

@@ -45,7 +45,7 @@ var ResponseServer = function(auth) {
parts.push(data.substring(0, m));
data = data.substring(m);
var line = parts.join("");
console.log("LINE:",line);
// console.log("LINE:",line);
parts = [];
if (line==='Username') {
connection.end(auth.username);
@@ -90,7 +90,6 @@ var ResponseSSHServer = function(auth) {
parts.push(data.substring(0, m));
data = data.substring(m);
var line = parts.join("");
console.log("LINE:",line);
parts = [];
if (line==='The') {
// TODO: document these exchanges!