Ah. Order matters.
But re-arrange the order, and get...
Got it. I must have missed this in the docs... Oops.
winscp> open sftp://lewiske:abc@10.128.90.20:3389/ -rawsettings -hostkey="ecdsa-sha2-nistp256 256 KmlymX4521gtpAaOhSrz4UY9CAEO+JNiAFTCQ/XqbUN=" Tunnel=1 TunnelHostName="172.26.170.21" TunnelUserName="kris.ctr.lewis" TunnelPasswordPlain="xxx"
Too many parameters for command 'open'.
But re-arrange the order, and get...
winscp> open sftp://lewiske:abc@10.128.90.20:3389/ -hostkey="ecdsa-sha2-nistp256 256 KmlymX4521gtpAaOhSrz4UY9CAEO+JNiAFTCQ/XqbUN=" -rawsettings Tunnel=1 TunnelHostName="172.26.170.21" TunnelUserName="kris.ctr.lewis" TunnelPasswordPlain="xxx"
Opening tunnel...
Searching for host...
Connecting to host...
Authenticating...
Using username "kris.ctr.lewis".
Authenticating with pre-entered password.
Authenticated.
Connecting through tunnel...
Searching for host...
Connecting to host...
Authenticating...
Using username "lewiske".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
Active session: [1] lewiske@10.128.90.20
winscp>
Got it. I must have missed this in the docs... Oops.