Skip to content

SSH failed: kex_exchange_identification: banner line contains invalid characters #11530

Closed
@mafredri

Description

@mafredri

I just tried to ssh into my workspace, however, I was greeted by the following:

# ssh -X coder.w     
Your license expires in 25 days.
Workspace was stopped, starting workspace to allow connecting to "w"...
kex_exchange_identification: banner line contains invalid characters

So I ran with ssh -vvv:

Your license expires in 25 days.
Workspace was stopped, starting workspace to allow connecting to "w"...
debug1: kex_exchange_identification: banner line 0: You must authenticate with JFrog Artifactory (https://jfrt.cdr.dev) to create a workspace with this template. Visit:
debug1: kex_exchange_identification: banner line 1: 
debug1: kex_exchange_identification: banner line 2:     https://dev.coder.com/external-auth/jfrog
debug1: kex_exchange_identification: banner line 3: 
kex_exchange_identification: banner line contains invalid characters
banner exchange: Connection to UNKNOWN port 65535: invalid format

We need to fix this and be more careful with how/when we output data when establishing SSH connections.

Metadata

Metadata

Assignees

Labels

cliArea: CLIs2Broken use cases or features (with a workaround). Only humans may set this.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions