cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Is it possible to change the known_hosts location ? (Win32)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 10 Jan 2012 16:47:47 +0100 (CET)

On Tue, 10 Jan 2012, sephi burp wrote:

> Is it possible to use a known_hosts file from another location ?

You can set an environment variable to set the "root" of the path that is
used.

$VARIABLE/_ssh/known_hosts is used (on non-windows the _ is a .). The
environment variables that are checked are in this order:

CURL_HOME
HOME

And on windows these additional ones are checked:

APPDATA
"%USERPROFILE%\\Application Data"

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-10