You seem to be getting permission denied errors sometimes and other times
you can login ok?

Perhaps Ansible is giving the wrong error message but the underlying error
is permission denied. Just taking a guess based on the output.

GS
On 14/02/2014 7:37 am, "Ilya Ivanov" <[email protected]> wrote:

> Well, it doesn't really matter to me whether the problem is specific or
> not.
>
> Here's how a verbose ansible connection looks:
> <192.168.7.188> ESTABLISH CONNECTION FOR USER: ilya
> <192.168.7.188> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto',
> '-o', 'ControlPersist=60s', '-o',
> 'ControlPath=/home/ilya/.ansible/cp/ansible-ssh-%h-%p-%r', '-o',
> 'Port=17722', '-o', 'KbdInteractiveAuthentication=no', '-o',
> 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey',
> '-o', 'PasswordAuthentication=no', '-o', 'User=ilya', '-o',
> 'ConnectTimeout=10', '192.168.7.188', "/bin/sh -c 'mkdir -p
> $HOME/.ansible/tmp/ansible-1392322724.99-173609494693332 && chmod a+rx
> $HOME/.ansible/tmp/ansible-1392322724.99-173609494693332 && echo
> $HOME/.ansible/tmp/ansible-1392322724.99-173609494693332'"]
> previous known host file not found
>
> Here are attempts to reproduce it with ssh
> $ ssh -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o
> ControlPath=/home/ilya/.ansible/cp/ansible-ssh-%h-%p-%r -o Port=17722 -o
> KbdInteractiveAuthentication=no -o
> PreferredAuthentications=gssapi-with-micgssapi-keyexhostbasedpublickey -o
> PasswordAuthentication=no -o User=ilya -o ConnectTimeout=10 192.168.7.188
> 2>&1 | grep previous
> $
> $ ssh -tt -o ControlMaster=auto -o ControlPersist=60s -o
> ControlPath=/home/ilya/.ansible/cp/ansible-ssh-%h-%p-%r -o Port=17722 -o
> KbdInteractiveAuthentication=no -o
> PreferredAuthentications=gssapi-with-micgssapi-keyexhostbasedpublickey -o
> PasswordAuthentication=no -o User=ilya -o ConnectTimeout=10 192.168.7.188
> Permission denied (publickey,gssapi-with-mic,password).
> $
> $ ssh -tt -o ControlMaster=auto -o ControlPersist=60s -o Port=17722 -o
> KbdInteractiveAuthentication=no -o
> PreferredAuthentications=gssapi-with-micgssapi-keyexhostbasedpublickey -o
> PasswordAuthentication=no -o User=ilya -o ConnectTimeout=10 192.168.7.188
> Permission denied (publickey,gssapi-with-mic,password).
> $
> $ssh -tt -o ControlMaster=auto -o ControlPersist=60s -o Port=17722 -o
> KbdInteractiveAuthentication=no -o PasswordAuthentication=no -o User=ilya
> -o ConnectTimeout=10 192.168.7.188
> Last login: Thu Feb 13 20:18:45 2014 from 192.168.7.188
> ilya@host1:~$
>
> "previous known host file not found" is an Ansible message. Does anyone
> know the conditions under which is it triggered?
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to