You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tolan@orbit:~/storage/projects/work/ansible/ansible$ echo "" >> ~/.ssh/known_hosts
tolan@orbit:~/storage/projects/work/ansible/ansible$ ansible all -u rogue -m ping --ask-pass
SSH password:
192.168.0.2 | FAILED => Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in "/tmp". Failed command was: mkdir -p $HOME/.ansible/tmp/ansible-1389113840.86-81068742964623 && chmod a+rx $HOME/.ansible/tmp/ansible-1389113840.86-81068742964623 && echo $HOME/.ansible/tmp/ansible-1389113840.86-81068742964623, exited with result 6
tolan@orbit:~/storage/projects/work/ansible/ansible$ ansible all -u rogue -vvvv -m ping --ask-pass
SSH password:
<192.168.0.2> ESTABLISH CONNECTION FOR USER: rogue
<192.168.0.2> REMOTE_MODULE ping
<192.168.0.2> EXEC ['sshpass', '-d6', 'ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/tolan/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=rogue', '-o', 'ConnectTimeout=10', '192.168.0.2', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1389113850.75-242060195634200 && chmod a+rx $HOME/.ansible/tmp/ansible-1389113850.75-242060195634200 && echo $HOME/.ansible/tmp/ansible-1389113850.75-242060195634200'"]
192.168.0.2 | FAILED => Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in "/tmp". Failed command was: mkdir -p $HOME/.ansible/tmp/ansible-1389113850.75-242060195634200 && chmod a+rx $HOME/.ansible/tmp/ansible-1389113850.75-242060195634200 && echo $HOME/.ansible/tmp/ansible-1389113850.75-242060195634200, exited with result 6
The final case, where the missing host key is mentioned and I'm prompted for whether I want to accept it only occurs if I hit enter instead of entering a password.
The proper behaviour would seem to be for the host key prompt to appear with or without a password being entered.
This is using trunk on Debian testing.
The text was updated successfully, but these errors were encountered:
Eg:
The final case, where the missing host key is mentioned and I'm prompted for whether I want to accept it only occurs if I hit enter instead of entering a password.
The proper behaviour would seem to be for the host key prompt to appear with or without a password being entered.
This is using trunk on Debian testing.
The text was updated successfully, but these errors were encountered: