Drop the '-M' option from 'triton ssh' added recently for #52.
A better alternative now is 'ssh $(triton ip <inst>)'.
This commit is contained in:
parent
1e2b19c0e6
commit
e1c977e623
@ -92,13 +92,6 @@ do_ssh.options = [
|
|||||||
names: ['help', 'h'],
|
names: ['help', 'h'],
|
||||||
type: 'bool',
|
type: 'bool',
|
||||||
help: 'Show this help.'
|
help: 'Show this help.'
|
||||||
},
|
|
||||||
{
|
|
||||||
names: ['no-disable-mux', 'M'],
|
|
||||||
type: 'bool',
|
|
||||||
help: 'Do *not* disable usage of SSH connection multiplexing. Using '
|
|
||||||
+ 'this option might result in hitting a known issue where '
|
|
||||||
+ 'command output is lost. See below.'
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
do_ssh.help = [
|
do_ssh.help = [
|
||||||
@ -114,10 +107,10 @@ do_ssh.help = [
|
|||||||
'',
|
'',
|
||||||
'There is a known issue with SSH connection multiplexing (a.k.a. ',
|
'There is a known issue with SSH connection multiplexing (a.k.a. ',
|
||||||
'ControlMaster, mux) where stdout/stderr is lost. As a workaround, `ssh`',
|
'ControlMaster, mux) where stdout/stderr is lost. As a workaround, `ssh`',
|
||||||
'is spawned with options disabling ControlMaster. You may use the `-M`',
|
'is spawned with options disabling ControlMaster. See ',
|
||||||
'option to not disable ControlMaster but, with node >=0.12, you will lose',
|
'<https://github.com/joyent/node-triton/issues/52> for details. If you ',
|
||||||
'stdout/stderr output. See <https://github.com/joyent/node-triton/issues/52>',
|
'want to use ControlMaster, an alternative is:',
|
||||||
'for details.'
|
' ssh root@$(triton ip <inst>)'
|
||||||
/* END JSSTYLED */
|
/* END JSSTYLED */
|
||||||
].join('\n');
|
].join('\n');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user