Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ansible_ssh_common_args: '-o ProxyCommand="ssh -q -W %h:%p -p {{ JUMPER_PORT }} root@{{ JUMPER_IP }}"'
- ansible -i $PWD all
- -m ping
- --extra-vars="JUMPER_IP=10.X.X.X JUMPER_PORT=6666"
- <---> (255, b'', b'ssh: illegal option -- -
- usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [- c cipher_spec]
- [-D [bind_address:]port] [- E log_file] [-e escape_char]
- [-F configfile] [-I pkcs11] [-i identity_file]
- [-J [user@]host[:port]] [-L address] [-l login_name] [-m mac_spec]
- [-O ctl_cmd] [-o option] [- p port] [-Q query_option] [-R address]
- [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]]
- [user@]hostname [command]
- ')
- <global> SSH: EXEC ssh -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 'ProxyCommand=ssh -q -W %h:%p
- -p 6666 root@10.X.X.X'
- -o ControlPath=/Users/me/.ansible/cp/853aabe504
- global '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
- --- | UNREACHABLE! => {
- "changed": false,
- "msg": "Failed to connect to the host via ssh: ssh: illegal option --
- -nusage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c
- cipher_spec]n [-D [bind_address:]port] [-E log_file] [-e
- escape_char]n [-F configfile] [-I pkcs11] [-i
- identity_file]n [-J [user@]host[:port]] [-L address] [-l .
- login_name] [-m mac_spec]n [-O ctl_cmd] [-o option] [-p
- port] [-Q query_option] [-R address]n [-S ctl_path] [-W
- host:port] [-w local_tun[:remote_tun]]n [user@]hostname
- [command]n",
- "unreachable": true
- }
Add Comment
Please, Sign In to add comment