[fuchsia] Pass a dummy command to the ssh tunnel setup (#16906)
* [fuchsia] Pass a dummy command to the ssh tunnel setup * Address analyzer lint * Update fuchsia_remote_debug_protocol
This commit is contained in:
@@ -432,9 +432,10 @@ class _PortForwarder {
|
||||
'_PortForwarder failed to find a local port for $address:$remotePort');
|
||||
return new _PortForwarder._(null, 0, 0, null, null);
|
||||
}
|
||||
const String dummyRemoteCommand = 'date';
|
||||
final List<String> command = <String>[
|
||||
'ssh', '-F', sshConfig, '-nNT', '-vvv',
|
||||
'-L', '$localPort:$ipv4Loopback:$remotePort', address];
|
||||
'ssh', '-F', sshConfig, '-nNT', '-vvv', '-f',
|
||||
'-L', '$localPort:$ipv4Loopback:$remotePort', address, dummyRemoteCommand];
|
||||
printTrace("_PortForwarder running '${command.join(' ')}'");
|
||||
final Process process = await processManager.start(command);
|
||||
process.stderr
|
||||
|
||||
Reference in New Issue
Block a user