mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
Some ssh configuration options are not accepted by the ssh version running inside chroot. Those options need to be filtered out when the configuration is copied while executing enter_chroot.sh. A new function is being added to do that. The list of substrings to be filtered out is defined as an array and can be extended as required. BUG=chromium-os:16441 TEST=manual: scripts 78 $ egrep '(UseProxyIf=|GSSAPIAuthentication no)' ~/.ssh/config UseProxyIf=false scripts 79 $ ./enter_chroot.sh (Grepo1) vbendeb@eskimo ~/trunk/src/scripts $ egrep '(UseProxyIf=|GSSAPIAuthentication no)' ~/.ssh/config (Grepo1) vbendeb@eskimo ~/trunk/src/scripts $ Change-Id: Ic52ef1ba7d015d76558efc39e178156f3d81bf78 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: http://gerrit.chromium.org/gerrit/2515 Reviewed-by: Chris Sosa <sosa%chromium.org@gtempaccount.com>
Description
Languages
Shell
93.1%
Python
6.9%