flutter_server_box icon indicating copy to clipboard operation
flutter_server_box copied to clipboard

使用跳板机连接时无法连接服务器

Open Wuming-HUST opened this issue 1 year ago • 21 comments

描述BUG

跳板机可以连接上,但是无法连接上内网的服务器 显示

认证失败,请检查密码/密钥/主机/用户等是否错误

SSHAuthAbortError(Connection closed before authentication)

但电脑上直接执行

ssh [email protected] -J 跳板机

可以连接上服务器

ssh 跳板机

也能直接连接到跳板机

无论是密码连接还是密钥都是一样的错误。

期望结果

希望能通过跳板机连接内网的服务器。

实际结果

实际无法连接,显示查看错误

截图

Screenshot_20240613_135948

设备

系统:Android14 App 版本 1.0.930

更多信息

Wuming-HUST avatar Jun 13 '24 06:06 Wuming-HUST

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: Unable to connect to the server when using a springboard connection

DESCRIPTION BUG

The springboard machine can be connected, but cannot connect to the intranet server show

Authentication failed, please check whether the password/key/host/user, etc. are incorrect.

SSHAuthAbortError(Connection closed before authentication)

But execute it directly on the computer

ssh [email protected] -J springboard machine

Can connect to the server

ssh springboard

Can also be connected directly to the springboard machine

It's the same error whether it's a password connection or a key.

Desired result

I hope to be able to connect to the intranet server through a springboard machine.

actual results

Unable to connect actually, display error

screenshot

Screenshot_20240613_135948

equipment

System: Android14 App version 1.0.930

More information

Issues-translate-bot avatar Jun 13 '24 06:06 Issues-translate-bot

一样的错误

hausen1012 avatar Jul 20 '24 11:07 hausen1012

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


same error

Issues-translate-bot avatar Jul 20 '24 11:07 Issues-translate-bot

这个问题解决了吗,我也遇到了这个问题

dlzhongp avatar Jul 24 '24 02:07 dlzhongp

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Has this problem been solved? I also encountered this problem.

Issues-translate-bot avatar Jul 24 '24 02:07 Issues-translate-bot

这个问题解决了吗,我也遇到了这个问题

解决了,本质原因出在Ubuntu 24.04的系统,/etc/ssh/sshd_config.d目录下多了几个文件,删掉就好。你试试。

Winspain avatar Jul 24 '24 03:07 Winspain

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Is this problem solved? I also encountered this problem

Solved, the essential reason lies in the Ubuntu 24.04 system. There are a few more files in the /etc/ssh/sshd_config.d directory. Just delete them. you try.

Issues-translate-bot avatar Jul 24 '24 03:07 Issues-translate-bot

/etc/ssh/sshd_config.d

我这边是时好时坏,不是说完全连不上

hausen1012 avatar Jul 24 '24 03:07 hausen1012

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


/etc/ssh/sshd_config.d

My side is up and down sometimes, it’s not that I can’t connect at all.

Issues-translate-bot avatar Jul 24 '24 03:07 Issues-translate-bot

这个问题解决了吗,我也遇到了这个问题

解决了,本质原因出在Ubuntu 24.04的系统,/etc/ssh/sshd_config.d目录下多了几个文件,删掉就好。你试试。

我刚看了,我是22.04,这目录下没文件

hausen1012 avatar Jul 24 '24 03:07 hausen1012

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Has this problem been solved? I also encountered this problem.

Solved. The essential reason lies in the Ubuntu 24.04 system. There are several more files in the /etc/ssh/sshd_config.d directory. Just delete them. you try.

I just checked. I am on 22.04. There are no files in this directory.

Issues-translate-bot avatar Jul 24 '24 03:07 Issues-translate-bot

我的服务器是CentOS7,我想知道你删掉的是什么文件,我好看看我这里有没有这样的问题

dlzhongp avatar Jul 25 '24 01:07 dlzhongp

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


My server is CentOS7. I want to know what file you deleted so that I can see if I have such a problem here.

Issues-translate-bot avatar Jul 25 '24 01:07 Issues-translate-bot

经过我测试发现,主是问题来自于路由转发,我在局域网中跳板服务器是好用的,从外网经过路由转发使用跳板机就会报错。但是其他软件类似的功能确没有问题,这让我不知该怎么处理了。还是很喜欢ServerBox在手机上使用的方便体验,希望能解决这个问题或是给我指个解决的方向。

dlzhongp avatar Jul 25 '24 02:07 dlzhongp

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


After my test, I found that the main problem comes from routing and forwarding. The springboard server is easy to use in my local area network. However, when using the springboard server through routing and forwarding from the external network, an error will be reported. But there is no problem with similar functions in other software, which makes me don't know how to deal with it. I still like the convenient experience of using ServerBox on my mobile phone. I hope it can solve this problem or point me in the direction of solving it.

Issues-translate-bot avatar Jul 25 '24 02:07 Issues-translate-bot

我也遇到这个情况了,使用阿里云有公网IP的服务器跳转内部服务器会失败,服务器是centos7

universeXiong avatar Aug 06 '24 14:08 universeXiong

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I have also encountered this situation. Using Alibaba Cloud's server with a public IP to jump to the internal server will fail. The server is centos7.

Issues-translate-bot avatar Aug 06 '24 14:08 Issues-translate-bot

同样的问题,手机,跳板机,目标服务器都在同个局域网内依然复现

Canary233 avatar Aug 21 '24 17:08 Canary233

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The same problem still occurs on mobile phones, springboard machines, and target servers in the same LAN.

Issues-translate-bot avatar Aug 21 '24 17:08 Issues-translate-bot

更新 v1.0.1070后正常了

Wuming-HUST avatar Sep 20 '24 20:09 Wuming-HUST

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It's normal after updating v1.0.1070

Issues-translate-bot avatar Sep 20 '24 20:09 Issues-translate-bot

问题还存在,最新版本的安卓、window都连接不上jumpserver(https://www.jumpserver.org/)

hail100 avatar Oct 14 '24 09:10 hail100

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The problem still exists. The latest versions of Android and Windows cannot connect to jumpserver.

Issues-translate-bot avatar Oct 14 '24 09:10 Issues-translate-bot

不好使依旧,版本1.0.1206。。。。。

sccuijian avatar Aug 22 '25 02:08 sccuijian

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It's not working well, version 1.0.1206. . . . .

Issues-translate-bot avatar Aug 22 '25 02:08 Issues-translate-bot

v1104正常 最新的1206有问题

Pandaaaa906 avatar Sep 07 '25 06:09 Pandaaaa906

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


v1104 is normal. The latest 1206 has problems.

Issues-translate-bot avatar Sep 07 '25 06:09 Issues-translate-bot

Same error on v1256. Why was the issue closed?

UlyssesZh avatar Oct 12 '25 01:10 UlyssesZh

I wanted to do a git bisect to find the first broken commit since v1104, but I failed to set up the development environment for the old versions. I do not have time to investigate further. Let's hope the developer will look at this.

UlyssesZh avatar Oct 12 '25 05:10 UlyssesZh