nirui / sshwifty

Web SSH & Telnet (WebSSH & WebTelnet client) 🔮
https://sshwifty-demo.nirui.org
GNU Affero General Public License v3.0
2.43k stars 367 forks source link

Allow multiple authentication methods #166

Open ungeskriptet opened 6 months ago

ungeskriptet commented 6 months ago

When a server is configured to ask for a key and a password to login, Sshwifty will fail and not connect.

Steps to reproduce:

  1. Setup an ssh server
  2. Configure key and password authentication (In sshd_config: AuthenticationMethods publickey,password)
  3. Try to login to the server from Sshwifty

Screenshot_20240514-082406_Kiwi Browser

nirui commented 6 months ago

Hi. I'm sorry Sshwifty don't currently support that. But the issue is valid, I've added this Issue to the TODO list so I can remember to implement it in the future.

But ... don't hold your breath through, it may take awhile. You'll receive notification here if any update about this is available.

finexss commented 2 months ago

I also have this error message here. Server System: Ubuntu 22.04 Deployment method: Docker No matter which authentication method (public key, password) is chosen, this error will be prompted.

Connection failed ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain

nirui commented 2 months ago

Hi @finexss, sorry for the trouble. Sshwifty currently don't really support server that require multi-authentication, and I'm really deep in the mud right now trying to finish my another project.

So there will be a long delay before I can offer anything here. Sorry.