anchor.diff:              [{_,[Ch1|_]}|_] = proplists:get_value(cipher, CommonAlgs),
   
               %% Make config file:
  -            Contents = 
  -                [{ssh, [{preferred_algorithms,
  -                         [{cipher, [Ch1]},
  -                          {kex,    [K1a]}
  -                         ] ++ AdjustClient},
  -                        {client_options,
  -                         [{modify_algorithms,
  -                           [{rm,     [{kex, [K1a]}]},
  -                            {append, [{kex, [K1b]}]}
  +            {ok,ConfFile} = 
  +                make_config_file_in_privdir(
  +                  "c2.config", Config,
  +                  [{ssh, [{preferred_algorithms,
  +                           [{cipher, [Ch1]},
  +                            {kex,    [K1a]}
  +                           ] ++ AdjustClient},
  +                          {client_options,
  +                           [{modify_algorithms,
  +                             [{rm,     [{kex, [K1a]}]},
  +                              {append, [{kex, [K1b]}]}
  +                             ]}
                              ]}
                            ]}
  -                       ]}
  -                ],          
  -            %% write the file:
  -            PrivDir = proplists:get_value(priv_dir, Config),
  -            ConfFile = filename:join(PrivDir,"c2.config"),
  -            {ok,D} = file:open(ConfFile, [write]),
  -            io:format(D, "~p.~n", [Contents]),
  -            file:close(D),
  -            {ok,Cnfs} = file:read_file(ConfFile),
  -            ct:log("c2.config:~n~s", [Cnfs]),
  +                  ]),
   
               %% Start the slave node with the configuration just made:
               {ok, Peer, Node} = ?CT_PEER(["-config", ConfFile]),
  
positive.code:     end.
  
      
  %%--------------------------------------------------------------------
  %% Internal functions ------------------------------------------------
  %%--------------------------------------------------------------------
  
negative.code:          save_accepted_host_option/1,
           raw_option/1,
           config_file/1,
           config_file_modify_algorithms_order/1,
           daemon_replace_options_simple/1,
           daemon_replace_options_algs/1,
           daemon_replace_options_algs_connect/1,
           daemon_replace_options_algs_conf_file/1
  	]).
  
  %%% Common test callbacks
  