Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Wuming-HUST opened this issue Jun 13, 2024 · 23 comments
Closed

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

Wuming-HUST opened this issue Jun 13, 2024 · 23 comments

Comments

@Wuming-HUST
Copy link

描述BUG

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

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

SSHAuthAbortError(Connection closed before authentication)

但电脑上直接执行

ssh [email protected] -J 跳板机

可以连接上服务器

ssh 跳板机

也能直接连接到跳板机

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

期望结果

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

实际结果

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

截图

Screenshot_20240613_135948

设备

系统:Android14
App 版本 1.0.930

更多信息

@Issues-translate-bot
Copy link

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

@hausen1012
Copy link

一样的错误

@Issues-translate-bot
Copy link

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


same error

@dlzhongp
Copy link

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

@Issues-translate-bot
Copy link

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


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

@Winspain
Copy link

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

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

@Issues-translate-bot
Copy link

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.

@hausen1012
Copy link

/etc/ssh/sshd_config.d

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

@Issues-translate-bot
Copy link

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.

@hausen1012
Copy link

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

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

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

@Issues-translate-bot
Copy link

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.

@dlzhongp
Copy link

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

@Issues-translate-bot
Copy link

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.

@dlzhongp
Copy link

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

@Issues-translate-bot
Copy link

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.

@universeXiong
Copy link

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

@Issues-translate-bot
Copy link

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.

@Canary233
Copy link

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

@Issues-translate-bot
Copy link

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.

@Wuming-HUST
Copy link
Author

更新 v1.0.1070后正常了

@Issues-translate-bot
Copy link

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


It's normal after updating v1.0.1070

@hail100
Copy link

hail100 commented Oct 14, 2024

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

@Issues-translate-bot
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants