apache / apache/mina-sshd

org.apache.sshd.common.SshException: No more authentication methods available

Open
#436 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
400
Avg merge
5d 1h
Merged PRs (30d)
1

Description

### Version

2.11.0

### Bug description

Java远程银河麒麟V10服务器时,首先可以确定的是密码是对的,而且服务器也开启了密码验证登录,并且通过Xshell工具可以访问。现在通过mina-sshd连接时,抛出了异常,如下:
(When attempting to connect to a Kylin V10 server remotely using Java, it is certain that the password is correct, and password-based authentication is enabled on the server, confirmed by successful access through Xshell. However, when trying to establish a connection using mina-sshd, an exception is thrown.)

org.apache.sshd.common.SshException: No more authentication methods available
![bug](https://github.com/apache/mina-sshd/assets/55305638/8b286c74-d961-43ef-bf5d-49d9b2046de1)

### Actual behavior

银河麒麟V10服务器 支持密码连接,并且确定密码是对的(The Kylin V10 server supports password-based connections, and it is confirmed that the password is correct.)

### Expected behavior

应该能够正常连接才对(It should be possible to connect normally.)

### Relevant log output

_No response_

### Other information

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the issue details and comment thread, then reproduce the connection against a Kylin V10 server using mina-sshd 2.11.0. Collect the client authentication trace and server-side SSH logs to determine why password authentication is unavailable. Done means identifying a reproducible cause and enabling a successful password-based connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.