I configured a Zero Trust application for ssh, I can connect through cmd but not vs code as the auth window never shows up and it says: [info] [LocalProcess0][resolveAuthority(ssh-remote,1)][43001ms] waiting… then times out. Can’t tell what’s going wrong but I also got kex_exchange_identification: Connection closed by remote host when trying to reconnect to the ssh server after disconnecting and was unable to connect unless I connected via the ip, cleared up after changing some application settings to refresh the session. What am I doing wrong?
I was able to get this after some more changes, not sure if it’s progress or not:
failed to start forwarding server: listen tcp: address ssh: missing port in address
kex_exchange_identification: Connection closed by remote host
I get this by executing the following in just standard cmd which is copied from VSCode output:
“C:\WINDOWS\System32\OpenSSH\ssh.exe” -T -D 27105 “NewKawata-Unraid” bash
NewKawata-Unraid is the Host defined inside my ssh config that I am trying to connect to.
ProxyCommand cloudflared access ssh --hostname %h; ssh %r@%h
Match host NewKawata-Unraid exec “cloudflared access ssh-gen --hostname %h”
ProxyCommand cloudflared access ssh --hostname %h
Got the match host from a github comment somewhere.