My .ksh scripts in my mac usually run successfully, and until yesterday were initiating an ssh connection with the following command successfully:
ssh -o StrictHostKeychecking=no -o ServerAliveInterval=60 -i /tmp/priv.key -o ProxyCommand='ssh -o StrictHostKeychecking=no -o ServerAliveInterval=60 -i ~/.ssh/id_rsa -W %h:%p ' -p 22 user@<ip_address>
however it started giving following error from today
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] [-b bind_address]
[-c cipher_spec] [-D [bind_address:]port] [-E log_file]
[-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file]
[-J destination] [-L address] [-l login_name] [-m mac_spec]
[-O ctl_cmd] [-o option] [-P tag] [-p port] [-R address]
[-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]]
destination [command [argument ...]]
ssh [-Q query_option]
Why is the ssh command failing while it was working fine few days ago?
/tmp/priv.keyexists, contains what you need it to contain and is accessible? Does the command work if you run it manually?