-
-
Save novodinia/de249223eb1ede6af994 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
ansible_ssh_user: root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
ansible_ssh_user: root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[docean] | |
utu1310x32 ansible_ssh_host=161.236.239.189 ansible_ssh_port=2200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible -i hosts -m ping all -vvvv | |
<161.236.239.189> ESTABLISH CONNECTION FOR USER: root | |
<161.236.239.189> REMOTE_MODULE ping | |
<161.236.239.189> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/dan/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=2200', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=root', '-o', 'ConnectTimeout=10', '161.236.239.189', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1397747798.28-199572292246551 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1397747798.28-199572292246551 && echo $HOME/.ansible/tmp/ansible-tmp-1397747798.28-199572292246551'"] | |
utu1310x32 | FAILED => SSH encountered an unknown error. The output was: | |
OpenSSH_6.2p2 Ubuntu-6ubuntu0.3, OpenSSL 1.0.1e 11 Feb 2013 | |
debug1: Reading configuration data /home/dan/.ssh/config | |
debug1: Reading configuration data /etc/ssh/ssh_config | |
debug1: /etc/ssh/ssh_config line 19: Applying options for * | |
debug1: auto-mux: Trying existing master | |
debug1: Control socket "/home/dan/.ansible/cp/ansible-ssh-161.236.239.189-2200-root" does not exist | |
debug2: ssh_connect: needpriv 0 | |
debug1: Connecting to 161.236.239.189 [161.236.239.189] port 2200. | |
debug2: fd 3 setting O_NONBLOCK | |
debug1: connect to address 161.236.239.189 port 2200: Connection refused | |
ssh: connect to host 161.236.239.189 port 2200: Connection refused |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment