[Gllug] Surpress ssh warnings

Nix nix at esperi.org.uk
Sat Feb 26 17:03:51 UTC 2011


On 25 Feb 2011, Stephen Nelson-Smith uttered the following:

> Usually the following ssh config is enough to prevent any dicking
> about with 'are you sure' and 'warning:' messages.
>
> # cat ~/.ssh/config
> UserKnownHostsFile /dev/null
> StrictHostKeyChecking no

That's never stopped warnings: it's only stopped you being *prompted*
for them.

> Warning: Permanently added '192.168.3.2' (RSA) to the list of known hosts.

You can't turn this warning off, but you can direct it to syslog instead
of stderr with the -y option.

-- 
NULL && (void)
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list