Closed
Description
Now that the workspaces are refreshed every 5 seconds it can be possible for users to create new workspaces that are not in configured
in the SSH config. Which will lead to exceptions when trying to connect to from the plugin:
2022-08-17 00:14:56,657 [ 213971] WARN - #c.i.s.i.s.sshj - Failed to connect. Brief info: SSH connection to coder@coder.Goku.coder:22
* With altered connection settings:
- authMethods: PublicKey(privateKeys=[C:\Users\ifaur\.ssh\id_rsa, C:\Users\ifaur\.ssh\id_dsa, C:\Users\ifaur\.ssh\id_ecdsa, C:\Users\ifaur\.ssh\id_ed25519, C:\Users\ifaur\.ssh\id_xmss], agent=ALL), Password, KeyboardInteractive
- user: coder
* With auth agent OpenSSH Agent for Windows
java.net.UnknownHostException: No such host is known (coder.Goku.coder)
at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
coder cli should be called before initiating a connection to make sure the host for the new workspace is configured.
Metadata
Metadata
Assignees
Labels
No labels