pro.webssh.net: iOS WebSSH app asks for password even when the server doesn't
Bug description
We (@Tailscale) have a custom SSH server that runs over Wireguard. Because we already know the user’s identity from Wireguard, we skip all the SSH-level authentication. When the SSH client connects and requests auth type “none”, usually the SSH server replies with a rejection and a list of which auth types can proceed. Our SSH server, on the other hand, accepts auth type none immediately. This confuses the WebSSH app which assumes that if you don’t have a private key you must need a password.
Our workaround that we’ve told users is to set a fake password. The password is never used (never sent on the wire) but it makes the WebSSH app happy.
Screenshots
Steps to reproduce
- try to ssh to
188.166.70.128
on port2222
(any username) - notice that WebSSH asks for a password, even though that test server never asks for any auth types
- enter a dummy password to proceed (any password will make the app happy, even though it’s never sent to the server)
/cc @maisem
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 23 (14 by maintainers)
It’s almost done. A beta release will be available tomorrow, July 21.