Hi! Moving from: microsoft/vscode-remote-release#1759
I'm trying to set up ssh2plink as a tunnel for ssh.exe - in order to use GSSApiKex as authentication method for VSCode remote ssh
plink.exe works just fine with my kerberos tickets from AD
First I define a host entry in putty named my-ssh-remote with all relevant GSSApi options. This profile works just fine from putty, no password prompts.
Next, setting Remote.SSH: Path to use ssh2plink.exe, I get this error as -F ssh_config is not allowed:
Running script with connection command: "C:\PATH\TO\ssh2plink.exe" -T -D 50457 -F "C:\PATH\TO\ssh_config" "my-ssh-remote" bash
[12:48:49.131] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[12:48:49.766] > plink: unknown option "-F"
�]0;C:\WINDOWS\System32\cmd.exe�
[12:48:49.766] Got some output, clearing connection timeout
[12:48:49.796] > failed to wait sshCmd:C:\PATH\TO\plink.exe[-D 50457 -F C:\PATH\TO\ssh_config my-ssh-remote bash]sshCmd.Wait faild with exit
Next, using plink.exe direct as my proxy command instead of ssh command, I get this error:
ssh -o ProxyCommand="C:\PATH\TO\plink.exe -T my-ssh-remote" my-real-host
...
End of banner message from server
-bash: lnea 1: $'SSH-2.0-OpenSSH_for_Windows_8.1\r': no se encontr la orden
Lastly, as per your suggestion in microsoft/vscode-remote-release#1759, I use ssh2plink.exe built from source:
ssh -o ProxyCommand="C:\PATH\TO\ssh2plink.exe -T my-ssh-remote" my-real-host
...
End of banner message from server
Bad packet length 218783296.
ssh_dispatch_run_fatal: Connection to UNKNOWN port 65535: message authentication code incorrect
Can you please advise? would this work by skipping -F ssh_config? is there anything else needed?