Advertisement
darrel12

Verbose Ansible Command Without Sudo

Aug 16th, 2017
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 30.25 KB | None | 0 0
  1. ansible 2.4.0
  2.   config file = /etc/ansible/ansible.cfg
  3.   configured module search path = [u'/home/user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  4.   ansible python module location = /usr/lib/python2.6/site-packages/ansible-2.4.0-py2.6.egg/ansible
  5.   executable location = /usr/bin/ansible
  6.   python version = 2.6.6 (r266:84292, Aug  9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
  7. Using /etc/ansible/ansible.cfg as config file
  8. setting up inventory plugins
  9. Parsed /etc/ansible/hosts inventory source with ini plugin
  10. Loading callback plugin minimal of type stdout, v2.0 from /usr/lib/python2.6/site-packages/ansible-2.4.0-py2.6.egg/ansible/plugins/callback/__init__.pyc
  11. META: ran handlers
  12. Using module_utils file /usr/lib/python2.6/site-packages/ansible-2.4.0-py2.6.egg/ansible/module_utils/basic.py
  13. Using module_utils file /usr/lib/python2.6/site-packages/ansible-2.4.0-py2.6.egg/ansible/module_utils/_text.py
  14. Using module_utils file /usr/lib/python2.6/site-packages/ansible-2.4.0-py2.6.egg/ansible/module_utils/parsing/convert_bool.py
  15. Using module_utils file /usr/lib/python2.6/site-packages/ansible-2.4.0-py2.6.egg/ansible/module_utils/parsing/__init__.py
  16. Using module_utils file /usr/lib/python2.6/site-packages/ansible-2.4.0-py2.6.egg/ansible/module_utils/pycompat24.py
  17. Using module_utils file /usr/lib/python2.6/site-packages/ansible-2.4.0-py2.6.egg/ansible/module_utils/six/__init__.py
  18. Using module file /usr/lib/python2.6/site-packages/ansible-2.4.0-py2.6.egg/ansible/modules/commands/command.py
  19. <user@hostDestination> ESTABLISH SSH CONNECTION FOR USER: None
  20. <user@hostDestination> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/home/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath=~/.ansible/cp' user@hostDestination '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
  21. <user@hostDestination> (0, '/home/user\n', "OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\nControl socket connect(/home/user/.ansible/cp): Connection refused\r\ndebug2: ssh_connect: needpriv 0\r\ndebug1: Connecting to hostDestination [01.23.45.67] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9974 ms remain after connect\r\ndebug3: Not a RSA1 key file /home/user/.ssh/id_rsa.\r\ndebug2: key_type_from_name: unknown key type '-----BEGIN'\r\ndebug3: key_read: missing keytype\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug2: key_type_from_name: unknown key type '-----END'\r\ndebug3: key_read: missing keytype\r\ndebug1: identity file /home/user/.ssh/id_rsa type 1\r\ndebug1: identity file /home/user/.ssh/id_rsa-cert type -1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_4.3\r\ndebug1: match: OpenSSH_4.3 pat OpenSSH_4*\r\ndebug1: Enabling compatibility mode for protocol 2.0\r\ndebug1: Local version string SSH-2.0-OpenSSH_5.3\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: Wrote 864 bytes for a total of 885\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-rsa,ssh-dss\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se\r\ndebug2: kex_parse_kexinit: hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96\r\ndebug2: kex_parse_kexinit: hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96\r\ndebug2: kex_parse_kexinit: zlib@openssh.com,zlib,none\r\ndebug2: kex_parse_kexinit: zlib@openssh.com,zlib,none\r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: first_kex_follows 0 \r\ndebug2: kex_parse_kexinit: reserved 0 \r\ndebug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: kex_parse_kexinit: ssh-rsa,ssh-dss\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\r\ndebug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\r\ndebug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\r\ndebug2: kex_parse_kexinit: none,zlib@openssh.com\r\ndebug2: kex_parse_kexinit: none,zlib@openssh.com\r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: first_kex_follows 0 \r\ndebug2: kex_parse_kexinit: reserved 0 \r\ndebug2: mac_setup: found hmac-sha1\r\ndebug1: kex: server->client aes128-ctr hmac-sha1 zlib@openssh.com\r\ndebug2: mac_setup: found hmac-sha1\r\ndebug1: kex: client->server aes128-ctr hmac-sha1 zlib@openssh.com\r\ndebug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<2048<8192) sent\r\ndebug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP\r\ndebug3: Wrote 24 bytes for a total of 909\r\ndebug2: dh_gen_key: priv key bits set: 162/320\r\ndebug2: bits set: 988/2048\r\ndebug1: SSH2_MSG_KEX_DH_GEX_INIT sent\r\ndebug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY\r\ndebug3: Wrote 272 bytes for a total of 1181\r\ndebug3: check_host_in_hostfile: host hostDestination filename /home/user/.ssh/known_hosts\r\ndebug3: check_host_in_hostfile: host hostDestination filename /home/user/.ssh/known_hosts\r\ndebug3: check_host_in_hostfile: match line 1\r\ndebug3: check_host_in_hostfile: host 01.23.45.67 filename /home/user/.ssh/known_hosts\r\ndebug3: check_host_in_hostfile: host 01.23.45.67 filename /home/user/.ssh/known_hosts\r\ndebug3: check_host_in_hostfile: match line 1\r\ndebug1: Host 'hostDestination' is known and matches the RSA host key.\r\ndebug1: Found key in /home/user/.ssh/known_hosts:1\r\ndebug2: bits set: 1061/2048\r\ndebug1: ssh_rsa_verify: signature correct\r\ndebug2: kex_derive_keys\r\ndebug2: set_newkeys: mode 1\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: Wrote 16 bytes for a total of 1197\r\ndebug2: set_newkeys: mode 0\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug1: SSH2_MSG_SERVICE_REQUEST sent\r\ndebug3: Wrote 52 bytes for a total of 1249\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug2: key: /home/user/.ssh/id_rsa (0x7ff535996ea0)\r\ndebug3: Wrote 68 bytes for a total of 1317\r\ndebug3: input_userauth_banner\r\n\n***************************************************************\n*                                                             *\n* Do not attempt to log on unless you are an authorized user. *\n*                                                             *\n* You must have a valid Network account.                      *\n*                                                             *\n***************************************************************\n\ndebug1: Authentications that can continue: publickey,gssapi-with-mic,password,keyboard-interactive\r\ndebug3: start over, passed a different list publickey,gssapi-with-mic,password,keyboard-interactive\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-with-mic\r\ndebug3: remaining preferred: gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_is_enabled gssapi-with-mic\r\ndebug1: Next authentication method: gssapi-with-mic\r\ndebug3: Trying to reverse map address 01.23.45.67.\r\ndebug1: Unspecified GSS failure.  Minor code may provide more information\nCredentials cache file '/tmp/krb5cc_5969' not found\n\r\ndebug1: Unspecified GSS failure.  Minor code may provide more information\nCredentials cache file '/tmp/krb5cc_5969' not found\n\r\ndebug2: we did not send a packet, disable method\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,hostbased,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering public key: /home/user/.ssh/id_rsa\r\ndebug3: send_pubkey_test\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: Wrote 372 bytes for a total of 1689\r\ndebug1: Server accepts key: pkalg ssh-rsa blen 277\r\ndebug2: input_userauth_pk_ok: SHA1 fp ec:85:55:b2:94:e9:ef:2b:90:4e:69:48:c0:db:e1:12:69:75:8f:c3\r\ndebug3: sign_and_send_pubkey: RSA ec:85:55:b2:94:e9:ef:2b:90:4e:69:48:c0:db:e1:12:69:75:8f:c3\r\ndebug1: read PEM private key done: type RSA\r\ndebug3: Wrote 644 bytes for a total of 2333\r\ndebug1: Enabling compression at level 6.\r\ndebug1: Authentication succeeded (publickey).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /home/user/.ansible/cp.XLGXgLu7pVEDnOQY\r\nControlSocket /home/user/.ansible/cp already exists, disabling multiplexing\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug2: fd 6 setting O_NONBLOCK\r\ndebug1: channel 0: new [client-session]\r\ndebug3: ssh_session2_open: channel_new: 0\r\ndebug2: channel 0: send open\r\ndebug1: Entering interactive session.\r\ndebug3: Wrote 52 bytes for a total of 2385\r\ndebug2: callback start\r\ndebug2: client_session2_setup: id 0\r\ndebug1: Sending environment.\r\ndebug3: Ignored env _byobu_sourced\r\ndebug3: Ignored env HOSTNAME\r\ndebug3: Ignored env SELINUX_ROLE_REQUESTED\r\ndebug3: Ignored env TERM\r\ndebug3: Ignored env SHELL\r\ndebug3: Ignored env HISTSIZE\r\ndebug3: Ignored env SSH_CLIENT\r\ndebug3: Ignored env SELINUX_USE_CURRENT_RANGE\r\ndebug3: Ignored env CDC_PREW2KHOST\r\ndebug3: Ignored env BYOBU_CONFIG_DIR\r\ndebug3: Ignored env QTDIR\r\ndebug3: Ignored env QTINC\r\ndebug3: Ignored env BYOBU_TTY\r\ndebug3: Ignored env SSH_TTY\r\ndebug3: Ignored env BYOBU_READLINK\r\ndebug3: Ignored env USER\r\ndebug3: Ignored env LS_COLORS\r\ndebug3: Ignored env BYOBU_RUN_DIR\r\ndebug3: Ignored env BYOBU_DISTRO\r\ndebug3: Ignored env BYOBU_DATE\r\ndebug3: Ignored env DA_SESSION_ID_AUTH\r\ndebug3: Ignored env TMUX\r\ndebug3: Ignored env BYOBU_SED\r\ndebug3: Ignored env BYOBU_BACKEND\r\ndebug3: Ignored env PATH\r\ndebug3: Ignored env MAIL\r\ndebug3: Ignored env BYOBU_DARK\r\ndebug3: Ignored env PWD\r\ndebug3: Ignored env BYOBU_ULIMIT\r\ndebug3: Ignored env MONOCHROME\r\ndebug1: Sending env LANG = en_US.UTF-8\r\ndebug2: channel 0: request env confirm 0\r\ndebug3: Ignored env MODULEPATH\r\ndebug3: Ignored env LOADEDMODULES\r\ndebug3: Ignored env TMUX_PANE\r\ndebug3: Ignored env USER_PRINCIPAL_NAME\r\ndebug3: Ignored env SELINUX_LEVEL_REQUESTED\r\ndebug3: Ignored env BYOBU_WINDOW_NAME\r\ndebug3: Ignored env BYOBU_PYTHON\r\ndebug3: Ignored env BYOBU_CHARMAP\r\ndebug3: Ignored env SSH_ASKPASS\r\ndebug3: Ignored env HISTCONTROL\r\ndebug3: Ignored env CDC_JOINED_DC\r\ndebug3: Ignored env SHLVL\r\ndebug3: Ignored env HOME\r\ndebug3: Ignored env CDC_JOINED_SITE\r\ndebug3: Ignored env BYOBU_LIGHT\r\ndebug3: Ignored env LOGNAME\r\ndebug3: Ignored env QTLIB\r\ndebug3: Ignored env CVS_RSH\r\ndebug3: Ignored env SSH_CONNECTION\r\ndebug3: Ignored env BYOBU_PAGER\r\ndebug3: Ignored env MODULESHOME\r\ndebug3: Ignored env BYOBU_ACCENT\r\ndebug3: Ignored env LESSOPEN\r\ndebug3: Ignored env PROMPT_COMMAND\r\ndebug3: Ignored env BYOBU_PREFIX\r\ndebug3: Ignored env CDC_JOINED_ZONE\r\ndebug3: Ignored env CDC_LOCALHOST\r\ndebug3: Ignored env BYOBU_HIGHLIGHT\r\ndebug3: Ignored env HISTTIMEFORMAT\r\ndebug3: Ignored env HISTFILE\r\ndebug3: Ignored env G_BROKEN_FILENAMES\r\ndebug3: Ignored env CDC_JOINED_DOMAIN\r\ndebug3: Ignored env BYOBU_TIME\r\ndebug3: Ignored env BASH_FUNC_module()\r\ndebug3: Ignored env OLDPWD\r\ndebug3: Ignored env _\r\ndebug1: Sending command: /bin/sh -c 'echo ~ && sleep 0'\r\ndebug2: channel 0: request exec confirm 1\r\ndebug2: fd 3 setting TCP_NODELAY\r\ndebug2: callback done\r\ndebug2: channel 0: open confirm rwindow 0 rmax 32768\r\ndebug3: Wrote 152 bytes for a total of 2537\r\ndebug2: channel 0: rcvd adjust 2097152\r\ndebug2: channel_input_status_confirm: type 99 id 0\r\ndebug2: exec request accepted on channel 0\r\ndebug2: channel 0: rcvd eof\r\ndebug2: channel 0: output open -> drain\r\ndebug1: client_input_channel_req: channel 0 rtype exit-status reply 0\r\ndebug2: channel 0: rcvd close\r\ndebug2: channel 0: close_read\r\ndebug2: channel 0: input open -> closed\r\ndebug3: channel 0: will not send data after close\r\ndebug1: channel 0: forcing write\r\ndebug3: channel 0: will not send data after close\r\ndebug2: channel 0: obuf empty\r\ndebug2: channel 0: close_write\r\ndebug2: channel 0: output drain -> closed\r\ndebug2: channel 0: almost dead\r\ndebug2: channel 0: gc: notify user\r\ndebug2: channel 0: gc: user detached\r\ndebug2: channel 0: send close\r\ndebug2: channel 0: is dead\r\ndebug2: channel 0: garbage collecting\r\ndebug1: channel 0: free: client-session, nchannels 1\r\ndebug3: channel 0: status: The following connections are open:\r\n  #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)\r\n\r\ndebug3: channel 0: close_fds r -1 w -1 e 6\r\ndebug3: Wrote 36 bytes for a total of 2573\r\ndebug3: Wrote 68 bytes for a total of 2641\r\ndebug1: fd 1 clearing O_NONBLOCK\r\ndebug1: fd 2 clearing O_NONBLOCK\r\nTransferred: sent 2440, received 2920 bytes, in 0.1 seconds\r\nBytes per second: sent 19765.4, received 23653.7\r\ndebug1: Exit status 0\r\ndebug1: compress outgoing: raw data 146, compressed 132, factor 0.90\r\ndebug1: compress incoming: raw data 88, compressed 72, factor 0.82\r\n")
  22. <user@hostDestination> ESTABLISH SSH CONNECTION FOR USER: None
  23. <user@hostDestination> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/home/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath=~/.ansible/cp' user@hostDestination '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/user/.ansible/tmp/ansible-tmp-1502897450.76-50929155650639 `" && echo ansible-tmp-1502897450.76-50929155650639="` echo /home/user/.ansible/tmp/ansible-tmp-1502897450.76-50929155650639 `" ) && sleep 0'"'"''
  24. <user@hostDestination> (0, 'ansible-tmp-1502897450.76-50929155650639=/home/user/.ansible/tmp/ansible-tmp-1502897450.76-50929155650639\n', 'OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\nControl socket connect(/home/user/.ansible/cp): Connection refused\r\ndebug2: ssh_connect: needpriv 0\r\ndebug1: Connecting to hostDestination [01.23.45.67] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9974 ms remain after connect\r\ndebug3: Not a RSA1 key file /home/user/.ssh/id_rsa.\r\ndebug2: key_type_from_name: unknown key type \'-----BEGIN\'\r\ndebug3: key_read: missing keytype\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug3: key_read: missing whitespace\r\ndebug2: key_type_from_name: unknown key type \'-----END\'\r\ndebug3: key_read: missing keytype\r\ndebug1: identity file /home/user/.ssh/id_rsa type 1\r\ndebug1: identity file /home/user/.ssh/id_rsa-cert type -1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_4.3\r\ndebug1: match: OpenSSH_4.3 pat OpenSSH_4*\r\ndebug1: Enabling compatibility mode for protocol 2.0\r\ndebug1: Local version string SSH-2.0-OpenSSH_5.3\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: Wrote 864 bytes for a total of 885\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-rsa,ssh-dss\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se\r\ndebug2: kex_parse_kexinit: hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96\r\ndebug2: kex_parse_kexinit: hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96\r\ndebug2: kex_parse_kexinit: zlib@openssh.com,zlib,none\r\ndebug2: kex_parse_kexinit: zlib@openssh.com,zlib,none\r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: first_kex_follows 0 \r\ndebug2: kex_parse_kexinit: reserved 0 \r\ndebug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: kex_parse_kexinit: ssh-rsa,ssh-dss\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\r\ndebug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\r\ndebug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\r\ndebug2: kex_parse_kexinit: none,zlib@openssh.com\r\ndebug2: kex_parse_kexinit: none,zlib@openssh.com\r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: first_kex_follows 0 \r\ndebug2: kex_parse_kexinit: reserved 0 \r\ndebug2: mac_setup: found hmac-sha1\r\ndebug1: kex: server->client aes128-ctr hmac-sha1 zlib@openssh.com\r\ndebug2: mac_setup: found hmac-sha1\r\ndebug1: kex: client->server aes128-ctr hmac-sha1 zlib@openssh.com\r\ndebug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<2048<8192) sent\r\ndebug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP\r\ndebug3: Wrote 24 bytes for a total of 909\r\ndebug2: dh_gen_key: priv key bits set: 157/320\r\ndebug2: bits set: 1014/2048\r\ndebug1: SSH2_MSG_KEX_DH_GEX_INIT sent\r\ndebug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY\r\ndebug3: Wrote 272 bytes for a total of 1181\r\ndebug3: check_host_in_hostfile: host hostDestination filename /home/user/.ssh/known_hosts\r\ndebug3: check_host_in_hostfile: host hostDestination filename /home/user/.ssh/known_hosts\r\ndebug3: check_host_in_hostfile: match line 1\r\ndebug3: check_host_in_hostfile: host 01.23.45.67 filename /home/user/.ssh/known_hosts\r\ndebug3: check_host_in_hostfile: host 01.23.45.67 filename /home/user/.ssh/known_hosts\r\ndebug3: check_host_in_hostfile: match line 1\r\ndebug1: Host \'hostDestination\' is known and matches the RSA host key.\r\ndebug1: Found key in /home/user/.ssh/known_hosts:1\r\ndebug2: bits set: 1032/2048\r\ndebug1: ssh_rsa_verify: signature correct\r\ndebug2: kex_derive_keys\r\ndebug2: set_newkeys: mode 1\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: Wrote 16 bytes for a total of 1197\r\ndebug2: set_newkeys: mode 0\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug1: SSH2_MSG_SERVICE_REQUEST sent\r\ndebug3: Wrote 52 bytes for a total of 1249\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug2: key: /home/user/.ssh/id_rsa (0x7f5d27322fb0)\r\ndebug3: Wrote 68 bytes for a total of 1317\r\ndebug3: input_userauth_banner\r\n\n***************************************************************\n*                                                             *\n* Do not attempt to log on unless you are an authorized user. *\n*                                                             *\n* You must have a valid Network account.                      *\n*                                                             *\n***************************************************************\n\ndebug1: Authentications that can continue: publickey,gssapi-with-mic,password,keyboard-interactive\r\ndebug3: start over, passed a different list publickey,gssapi-with-mic,password,keyboard-interactive\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-with-mic\r\ndebug3: remaining preferred: gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_is_enabled gssapi-with-mic\r\ndebug1: Next authentication method: gssapi-with-mic\r\ndebug3: Trying to reverse map address 01.23.45.67.\r\ndebug1: Unspecified GSS failure.  Minor code may provide more information\nCredentials cache file \'/tmp/krb5cc_5969\' not found\n\r\ndebug1: Unspecified GSS failure.  Minor code may provide more information\nCredentials cache file \'/tmp/krb5cc_5969\' not found\n\r\ndebug2: we did not send a packet, disable method\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,hostbased,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering public key: /home/user/.ssh/id_rsa\r\ndebug3: send_pubkey_test\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: Wrote 372 bytes for a total of 1689\r\ndebug1: Server accepts key: pkalg ssh-rsa blen 277\r\ndebug2: input_userauth_pk_ok: SHA1 fp ec:85:55:b2:94:e9:ef:2b:90:4e:69:48:c0:db:e1:12:69:75:8f:c3\r\ndebug3: sign_and_send_pubkey: RSA ec:85:55:b2:94:e9:ef:2b:90:4e:69:48:c0:db:e1:12:69:75:8f:c3\r\ndebug1: read PEM private key done: type RSA\r\ndebug3: Wrote 644 bytes for a total of 2333\r\ndebug1: Enabling compression at level 6.\r\ndebug1: Authentication succeeded (publickey).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /home/user/.ansible/cp.RdCGwbZkKHSJ4o0E\r\nControlSocket /home/user/.ansible/cp already exists, disabling multiplexing\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug2: fd 6 setting O_NONBLOCK\r\ndebug1: channel 0: new [client-session]\r\ndebug3: ssh_session2_open: channel_new: 0\r\ndebug2: channel 0: send open\r\ndebug1: Entering interactive session.\r\ndebug3: Wrote 52 bytes for a total of 2385\r\ndebug2: callback start\r\ndebug2: client_session2_setup: id 0\r\ndebug1: Sending environment.\r\ndebug3: Ignored env _byobu_sourced\r\ndebug3: Ignored env HOSTNAME\r\ndebug3: Ignored env SELINUX_ROLE_REQUESTED\r\ndebug3: Ignored env TERM\r\ndebug3: Ignored env SHELL\r\ndebug3: Ignored env HISTSIZE\r\ndebug3: Ignored env SSH_CLIENT\r\ndebug3: Ignored env SELINUX_USE_CURRENT_RANGE\r\ndebug3: Ignored env CDC_PREW2KHOST\r\ndebug3: Ignored env BYOBU_CONFIG_DIR\r\ndebug3: Ignored env QTDIR\r\ndebug3: Ignored env QTINC\r\ndebug3: Ignored env BYOBU_TTY\r\ndebug3: Ignored env SSH_TTY\r\ndebug3: Ignored env BYOBU_READLINK\r\ndebug3: Ignored env USER\r\ndebug3: Ignored env LS_COLORS\r\ndebug3: Ignored env BYOBU_RUN_DIR\r\ndebug3: Ignored env BYOBU_DISTRO\r\ndebug3: Ignored env BYOBU_DATE\r\ndebug3: Ignored env DA_SESSION_ID_AUTH\r\ndebug3: Ignored env TMUX\r\ndebug3: Ignored env BYOBU_SED\r\ndebug3: Ignored env BYOBU_BACKEND\r\ndebug3: Ignored env PATH\r\ndebug3: Ignored env MAIL\r\ndebug3: Ignored env BYOBU_DARK\r\ndebug3: Ignored env PWD\r\ndebug3: Ignored env BYOBU_ULIMIT\r\ndebug3: Ignored env MONOCHROME\r\ndebug1: Sending env LANG = en_US.UTF-8\r\ndebug2: channel 0: request env confirm 0\r\ndebug3: Ignored env MODULEPATH\r\ndebug3: Ignored env LOADEDMODULES\r\ndebug3: Ignored env TMUX_PANE\r\ndebug3: Ignored env USER_PRINCIPAL_NAME\r\ndebug3: Ignored env SELINUX_LEVEL_REQUESTED\r\ndebug3: Ignored env BYOBU_WINDOW_NAME\r\ndebug3: Ignored env BYOBU_PYTHON\r\ndebug3: Ignored env BYOBU_CHARMAP\r\ndebug3: Ignored env SSH_ASKPASS\r\ndebug3: Ignored env HISTCONTROL\r\ndebug3: Ignored env CDC_JOINED_DC\r\ndebug3: Ignored env SHLVL\r\ndebug3: Ignored env HOME\r\ndebug3: Ignored env CDC_JOINED_SITE\r\ndebug3: Ignored env BYOBU_LIGHT\r\ndebug3: Ignored env LOGNAME\r\ndebug3: Ignored env QTLIB\r\ndebug3: Ignored env CVS_RSH\r\ndebug3: Ignored env SSH_CONNECTION\r\ndebug3: Ignored env BYOBU_PAGER\r\ndebug3: Ignored env MODULESHOME\r\ndebug3: Ignored env BYOBU_ACCENT\r\ndebug3: Ignored env LESSOPEN\r\ndebug3: Ignored env PROMPT_COMMAND\r\ndebug3: Ignored env BYOBU_PREFIX\r\ndebug3: Ignored env CDC_JOINED_ZONE\r\ndebug3: Ignored env CDC_LOCALHOST\r\ndebug3: Ignored env BYOBU_HIGHLIGHT\r\ndebug3: Ignored env HISTTIMEFORMAT\r\ndebug3: Ignored env HISTFILE\r\ndebug3: Ignored env G_BROKEN_FILENAMES\r\ndebug3: Ignored env CDC_JOINED_DOMAIN\r\ndebug3: Ignored env BYOBU_TIME\r\ndebug3: Ignored env BASH_FUNC_module()\r\ndebug3: Ignored env OLDPWD\r\ndebug3: Ignored env _\r\ndebug1: Sending command: /bin/sh -c \'( umask 77 && mkdir -p "` echo /home/user/.ansible/tmp/ansible-tmp-1502897450.76-50929155650639 `" && echo ansible-tmp-1502897450.76-50929155650639="` echo /home/user/.ansible/tmp/ansible-tmp-1502897450.76-50929155650639 `" ) && sleep 0\'\r\ndebug2: channel 0: request exec confirm 1\r\ndebug2: fd 3 setting TCP_NODELAY\r\ndebug2: callback done\r\ndebug2: channel 0: open confirm rwindow 0 rmax 32768\r\ndebug3: Wrote 248 bytes for a total of 2633\r\ndebug2: channel 0: rcvd adjust 2097152\r\ndebug2: channel_input_status_confirm: type 99 id 0\r\ndebug2: exec request accepted on channel 0\r\ndebug2: channel 0: rcvd eof\r\ndebug2: channel 0: output open -> drain\r\ndebug1: client_input_channel_req: channel 0 rtype exit-status reply 0\r\ndebug2: channel 0: rcvd close\r\ndebug2: channel 0: close_read\r\ndebug2: channel 0: input open -> closed\r\ndebug3: channel 0: will not send data after close\r\ndebug1: channel 0: forcing write\r\ndebug3: channel 0: will not send data after close\r\ndebug2: channel 0: obuf empty\r\ndebug2: channel 0: close_write\r\ndebug2: channel 0: output drain -> closed\r\ndebug2: channel 0: almost dead\r\ndebug2: channel 0: gc: notify user\r\ndebug2: channel 0: gc: user detached\r\ndebug2: channel 0: send close\r\ndebug2: channel 0: is dead\r\ndebug2: channel 0: garbage collecting\r\ndebug1: channel 0: free: client-session, nchannels 1\r\ndebug3: channel 0: status: The following connections are open:\r\n  #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)\r\n\r\ndebug3: channel 0: close_fds r -1 w -1 e 6\r\ndebug3: Wrote 36 bytes for a total of 2669\r\ndebug3: Wrote 68 bytes for a total of 2737\r\ndebug1: fd 1 clearing O_NONBLOCK\r\ndebug1: fd 2 clearing O_NONBLOCK\r\nTransferred: sent 2536, received 2968 bytes, in 0.1 seconds\r\nBytes per second: sent 20487.8, received 23977.8\r\ndebug1: Exit status 0\r\ndebug1: compress outgoing: raw data 369, compressed 227, factor 0.62\r\ndebug1: compress incoming: raw data 183, compressed 124, factor 0.68\r\n')
  25. <user@hostDestination> PUT /tmp/tmp8VkdWN TO /home/user/.ansible/tmp/ansible-tmp-1502897450.76-50929155650639/command.py
  26. <user@hostDestination> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/home/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath=~/.ansible/cp' '[user@hostDestination]'
  27. <user@hostDestination> (255, '', "OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\nControl socket connect(/home/user/.ansible/cp): Connection refused\r\ndebug2: ssh_connect: needpriv 0\r\nssh: Could not resolve hostname hostDestination]: Name or service not known\r\nCouldn't read packet: Connection reset by peer\r\n")
  28. user@hostDestination | UNREACHABLE! => {
  29.     "changed": false,
  30.     "msg": "Failed to connect to the host via ssh: OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\nControl socket connect(/home/user/.ansible/cp): Connection refused\r\ndebug2: ssh_connect: needpriv 0\r\nssh: Could not resolve hostname hostDestination]: Name or service not known\r\nCouldn't read packet: Connection reset by peer\r\n",
  31.     "unreachable": true
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement