Re: OpenSSH and $HOME

From: Phil Endecott (phil_nn05_at_chezphil.org)
Date: 06/15/05


Date: Tue, 14 Jun 2005 23:03:32 GMT

Darren Tucker wrote:
> Phil Endecott wrote:
>>OK, so it looks as if I can change the location of the known hosts file
>>by generating a temporary config file with "UserKnownHostsFile XXX" and
>>passing that temporary file using -F. It's a bit clunky but I think it
>>will work.
>
> You can also set ssh_config(5) options from the command line, eg,
> ssh -o UserKnownHostsFile=XXX someserver

Ah! Thanks! Now it's all easy.

--Phil.