Instantly share code, notes, and snippets.

@dw /step1.sh
Last active Sep 27, 2017

Embed
What would you like to do?
Ansiblol
ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/Users/dmw/.ansible/cp/4e8d7ac1b9 u
'/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/Users/dmw/.ansible/cp/4e8d7ac1b9 u
'/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/dmw/.ansible/tmp/ansible-tmp-1505467995.61-204952693992286 `" && echo ansible-tmp-1505467995.61-204952693992286="` echo /home/dmw/.ansible/tmp/ansible-tmp-1505467995.61-204952693992286 `" ) && sleep 0'"'"''
sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/Users/dmw/.ansible/cp/4e8d7ac1b9 '[u]'
put /tmp/tmp_6aKuG /home/dmw/.ansible/tmp/ansible-tmp-1505467995.61-204952693992286/command.py
ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/Users/dmw/.ansible/cp/4e8d7ac1b9 u
'/bin/sh -c '"'"'chmod u+x /home/dmw/.ansible/tmp/ansible-tmp-1505467995.61-204952693992286/ /home/dmw/.ansible/tmp/ansible-tmp-1505467995.61-204952693992286/command.py && sleep 0'"'"''
ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/Users/dmw/.ansible/cp/4e8d7ac1b9 -tt u
'/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=uztqyrlcilrcdbkdwssovmaxecdjaglk] password: " -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-uztqyrlcilrcdbkdwssovmaxecdjaglk; /usr/bin/python /home/dmw/.ansible/tmp/ansible-tmp-1505471935.49-110723490492786/command.py; rm -rf "/home/dmw/.ansible/tmp/ansible-tmp-1505471935.49-110723490492786/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment