Skip to content

Connection closed by UNKNOWN port 65535 #19

@Bannirui

Description

@Bannirui

Hi,

I get stuck in ssh proxy, appreciate for help.

1 OS platform

  • macOS 13.5
  • arch 6.4.10

2 corkscrew ver

2.0

3 ssh config

❯ cat .ssh/config

# my-github
Host github.com
	Hostname github.com
	IdentityFile ~/.ssh/my_github
	User bannirui@outlook.com
    ProxyCommand corkscrew 127.0.0.1 7890 %h %p

4 ssh error

4.1 ssh -T

❯ ssh -T git@github.com

kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535

4.2 ssh -v

❯ ssh -v git@github.com

OpenSSH_9.0p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/dingrui/.ssh/config
debug1: /Users/dingrui/.ssh/config line 2: Applying options for github.com
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Executing proxy command: exec corkscrew 127.0.0.1 7890 github.com 22
debug1: identity file /Users/dingrui/.ssh/my_github type 0
debug1: identity file /Users/dingrui/.ssh/my_github-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.0
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535

I hava no ideals on this, i'm looking forward to your suggestions or help, thanks again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions