File tree 3 files changed +31
-0
lines changed
3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 288
288
"bootstrap" : {
289
289
"type" : " string" ,
290
290
"description" : " Content will be executed on the SSH host before the debugger call."
291
+ },
292
+ "algorithms" : {
293
+ "type" : " object" ,
294
+ "description" : " This option allows you to explicitly override the default transport layer algorithms used for the connection." ,
295
+ "properties" : {
296
+ "cipher" : {
297
+ "type" : " array" ,
298
+ "description" : " Ciphers."
299
+ },
300
+ "compress" : {
301
+ "type" : " array" ,
302
+ "description" : " Compression algorithms."
303
+ },
304
+ "hmac" : {
305
+ "type" : " array" ,
306
+ "description" : " (H)MAC algorithms."
307
+ },
308
+ "kex" : {
309
+ "type" : " array" ,
310
+ "description" : " Key exchange algorithms."
311
+ },
312
+ "serverHostKey" : {
313
+ "type" : " array" ,
314
+ "description" : " Server host key formats."
315
+ }
316
+ }
291
317
}
292
318
}
293
319
}
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ export interface SSHArguments {
47
47
x11host : string ;
48
48
bootstrap : string ;
49
49
sourceFileMap : { [ index : string ] : string } ;
50
+ algorithms : any ;
50
51
}
51
52
52
53
export interface IBackend {
Original file line number Diff line number Diff line change @@ -135,6 +135,10 @@ export class MI2 extends EventEmitter implements IBackend {
135
135
connectionArgs . password = args . password ;
136
136
}
137
137
138
+ if ( args . algorithms ) {
139
+ connectionArgs . algorithms = args . algorithms ;
140
+ }
141
+
138
142
this . sshConn . on ( "ready" , ( ) => {
139
143
this . log ( "stdout" , "Running " + this . application + " over ssh..." ) ;
140
144
const execArgs : any = { } ;
You can’t perform that action at this time.
0 commit comments