Update the ssh/config filters in enter_chroot.sh

The current instructions for golo access include additions to the
~/.ssh/config file that are specific to Google distros of ssh.  The
filtering mechanism in enter_chroot needed an update to include
these new options to filter out.

BUG=chromium-os:23322
TEST=With a golo-configured .ssh/config, enter chroot and test ssh:
> cros_sdk
> git remote update
Fetching ...
...

Change-Id: Ida9fcdff37ff0eb24c811ad789f82136dca7252f
Reviewed-on: https://gerrit.chromium.org/gerrit/12037
Tested-by: Matt Tennant <mtennant@chromium.org>
Reviewed-by: David James <davidjames@chromium.org>
Reviewed-by: Zdenek Behan <zbehan@chromium.org>
Commit-Ready: Matt Tennant <mtennant@chromium.org>
This commit is contained in:
Matt Tennant 2011-11-22 11:23:06 -08:00 committed by Gerrit
parent 7cd3c285d2
commit 63c3cc56b3

View File

@ -160,8 +160,10 @@ function copy_ssh_config {
# ssh options to filter out. The entire strings containing these substrings
# will be deleted before copying.
local bad_options=(
'UseProxyIf='
'GSSAPIAuthentication no'
'UseProxyIf'
'GSSAPIAuthentication'
'GSSAPIKeyExchange'
'ProxyUseFdpass'
)
local sshc="${HOME}/.ssh/config"
local chroot_ssh_dir="${1}"