Merge pull request #345 from resin-io/change-resin-ssh-loglevel

Change resin ssh loglevel from QUIET to ERROR
This commit is contained in:
Juan Cruz Viotti 2016-05-19 10:17:20 -04:00
commit 7c784909fd
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ limitations under the License.
}
return Promise["try"](function() {
var command, spawn, subShellCommand;
command = "ssh -t -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p " + options.port + " " + username + "@ssh." + (settings.get('proxyUrl')) + " enter " + uuid + " " + containerId;
command = "ssh -t -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p " + options.port + " " + username + "@ssh." + (settings.get('proxyUrl')) + " enter " + uuid + " " + containerId;
subShellCommand = getSubShellCommand(command);
return spawn = child_process.spawn(subShellCommand.program, subShellCommand.args, {
stdio: 'inherit'

View File

@ -75,7 +75,7 @@ module.exports =
throw new Error('Device is not online') if not isOnline
throw new Error('Did not find running application container') if not containerId?
Promise.try ->
command = "ssh -t -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \
command = "ssh -t -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \
-p #{options.port} #{username}@ssh.#{settings.get('proxyUrl')} enter #{uuid} #{containerId}"
subShellCommand = getSubShellCommand(command)