Re: SSH host key maintenance, local provider

2014-10-06 Thread Andrew Wilkins
On Fri, Oct 3, 2014 at 4:19 PM, Stuart Bishop stuart.bis...@canonical.com wrote: On 3 October 2014 20:23, Curtis Hovey-Canonical cur...@canonical.com wrote: On Fri, Oct 3, 2014 at 8:30 AM, Simon Davy bloodearn...@gmail.com wrote: On 3 October 2014 13:21, Simon Davy bloodearn...@gmail.com

SSH host key maintenance, local provider

2014-10-03 Thread Stuart Bishop
Hi. Has anyone got a simple mechanism for keeping their ~/.ssh/known_hosts and ~root/.ssh/known_hosts files clear of ephemeral juju machines? I did have a script that cleared it out on bootstrap, but it has stopped working and I thought I'd ask here for current best practice before debugging it.

Re: SSH host key maintenance, local provider

2014-10-03 Thread Simon Davy
This is what I have: Host 10.0.3.* StrictHostKeyChecking no UserKnownHostsFile /dev/null ForwardAgent yes LogLevel ERROR ControlMaster auto ControlPath /tmp/ssh_mux_%h_%p_%r ControlPersist 8h LogLevel ERROR is nice, means you don't get any key warnings. HTH --

Re: SSH host key maintenance, local provider

2014-10-03 Thread Simon Davy
On 3 October 2014 13:21, Simon Davy bloodearn...@gmail.com wrote: This is what I have: Host 10.0.3.* StrictHostKeyChecking no UserKnownHostsFile /dev/null ForwardAgent yes LogLevel ERROR ControlMaster auto ControlPath /tmp/ssh_mux_%h_%p_%r ControlPersist 8h

Re: SSH host key maintenance, local provider

2014-10-03 Thread Stuart Bishop
On 3 October 2014 20:23, Curtis Hovey-Canonical cur...@canonical.com wrote: On Fri, Oct 3, 2014 at 8:30 AM, Simon Davy bloodearn...@gmail.com wrote: On 3 October 2014 13:21, Simon Davy bloodearn...@gmail.com wrote: This is what I have: Host 10.0.3.* StrictHostKeyChecking no