Closed
Description
It seems like when I manually download coder.exe
and add to PATH, the ProxyCommand does not include quotes which results in failed SSH connections in many cases, including when using git bash.
From manual .exe download, added to path, and coder config-ssh
in git bash:
Host coder.dev
HostName coder.dev
ConnectTimeout=0
StrictHostKeyChecking=no
UserKnownHostsFile=/dev/null
LogLevel ERROR
ProxyCommand C:\Users\benpotter\Desktop\bin\coder.exe --global-config C:\Users\benpotter\AppData\Roaming\coderv2 ssh --stdio dev
Result when I try to SSH:
$ ssh coder.dev
/usr/bin/bash: line 1: exec: C:UsersbenpotterDesktopbincoder.exe: not found
kex_exchange_identification: Connection closed by remote host
From msi installer (this works):
Host coder.dev
HostName coder.dev
ConnectTimeout=0
StrictHostKeyChecking=no
UserKnownHostsFile=/dev/null
LogLevel ERROR
ProxyCommand "C:\Program Files\Coder\bin\coder.exe" --global-config C:\Users\benpotter\AppData\Roaming\coderv2 ssh --stdio dev