From 2385b28de566ad48398f033f0408b31ee7a2d786 Mon Sep 17 00:00:00 2001 From: andreaskern Date: Tue, 18 Mar 2014 17:24:56 +0100 Subject: [PATCH] add param to note example for ssh-keyscan hostnames in the known hosts file are typically stored as Hashed values, calling 'ssh-keyscan' with '-H' changes to output to the Hashed format so that the known_hosts file looks more consistent --- source_control/git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source_control/git b/source_control/git index f4ee4d522b7..e61c7728156 100644 --- a/source_control/git +++ b/source_control/git @@ -123,7 +123,7 @@ notes: - "If the task seems to be hanging, first verify remote host is in C(known_hosts). SSH will prompt user to authorize the first contact with a remote host. To avoid this prompt, one solution is to add the remote host public key in C(/etc/ssh/ssh_known_hosts) before calling - the git module, with the following command: ssh-keyscan remote_host.com >> /etc/ssh/ssh_known_hosts." + the git module, with the following command: ssh-keyscan -H remote_host.com >> /etc/ssh/ssh_known_hosts." ''' EXAMPLES = '''