Skip to content

Commit 5e88082

Browse files
committed
💄
1 parent 967c786 commit 5e88082

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

extensions/gitpod/src/remoteConnector.ts

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -458,16 +458,11 @@ export default class RemoteConnector extends Disposable {
458458
}).connect({
459459
host: sshDestInfo.hostName,
460460
username: sshDestInfo.user,
461-
authHandler(methodsLeft, _partialSuccess, callback) {
462-
if (!methodsLeft) {
463-
callback({
464-
type: 'password',
465-
username: workspaceId,
466-
password: ownerToken
467-
});
468-
} else {
469-
callback(false);
470-
}
461+
authHandler(_methodsLeft, _partialSuccess, _callback) {
462+
return {
463+
type: 'none',
464+
username: sshDestInfo.user,
465+
};
471466
},
472467
hostVerifier(hostKey) {
473468
// We didn't specify `hostHash` so `hashedKey` is a Buffer object

0 commit comments

Comments
 (0)