Skip to content

ssh成功连接一次并退出后,无法再次连接. #1

@lewisec

Description

@lewisec

vps作为中转,监听60001 60002两个端口,被管理服务器在内网,监听22到vps的60001端口。
在客户端ssh连接vps的60002端口,可以成功连接。
这时候exit这个ssh,再重新连接,提示ssh_exchange_identification:Connection closed by remote host
被管理服务器一直循环显示:
connected to 1.1.1.1:60001
0 one connect closed.
0 CLOSED
connected to localhost:22
1 one connect closed.
1 CLOSED
请问这是什么原因?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions