Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected error when connecting with invalid user #5

Open
austinhyde opened this issue Sep 23, 2015 · 0 comments
Open

Unexpected error when connecting with invalid user #5

austinhyde opened this issue Sep 23, 2015 · 0 comments
Labels

Comments

@austinhyde
Copy link
Owner

Found this while trying to connect to a vagrant virtual machine, without specifying an ansible_ssh_user:

$ ansible -i inventory/vagrant influx -m command -a hostname -k -vvvv
SSH password: 
<127.0.0.1> ESTABLISH CONNECTION FOR USER: austin.hyde
<influx@127.0.0.1> REMOTE_MODULE command hostname
<127.0.0.1> EXEC sshpass -d6 ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/austin.hyde/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=2222 -o GSSAPIAuthentication=no -o PubkeyAuthentication=no -o ConnectTimeout=10 127.0.0.1 /bin/sh -c 'jls -q jid name host.hostname path'
JLS stdout:
influx00 | FAILED => jls returned non-zero!

Need to make it output a more sensible error message if possible.

@austinhyde austinhyde added the bug label Sep 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant