# call args: ['ssh','-o','CheckHostIP no','-o','HashKnownHosts no','-o','StrictHostKeyChecking no','-o','VerifyHostKeyDNS no','-o','UserKnownHostsFile /dev/null','-o','HostbasedAuthentication no','-o','ChallengeResponseAuthentication no','-o','RhostsRSAAuthentication no','-o','GSSAPIAuthentication no','-o','ProxyCommand=ssh -o "PasswordAuthentication no" -o "GSSAPIAuthentication no" -vvv -k root@192.168.1.1 nc %h 22','-o','PasswordAuthentication yes','-o','PubkeyAuthentication yes','-o','ServerAliveInterval=30','-x2MN','-o','NumberOfPasswordPrompts=1','-o','PreferredAuthentications=publickey,keyboard-interactive,password','-S','/root/.libnet-openssh-perl/root-10.20.30.40-16309-99228','-l','root','10.20.30.40','--']
####
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug3: start over, passed a different list publickey,gssapi-with-mic,password
debug3: preferred publickey,keyboard-interactive
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/id_rsa
debug3: no such identity: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug3: no such identity: /root/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey,gssapi-with-mic,password).
####
ssh -o "CheckHostIP no" -o "HashKnownHosts no" -o "StrictHostKeyChecking no" -o "VerifyHostKeyDNS no" -o "UserKnownHostsFile /dev/null" -o "PasswordAuthentication yes" -o "PubkeyAuthentication yes" -o "ProxyCommand=ssh -vvv root@192.168.1.1 nc %h 22" -o "ServerAliveInterval=30" -x2MN -o "NumberOfPasswordPrompts=1" -o "PreferredAuthentications=publickey,keyboard-interactive,password" -S /tmp/zzz -l root 10.20.30.40
####
debug3: remaining preferred: publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering DSA public key: /HOME/MY_KEY.DSA
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-dss blen 432