iOS WebSSH app asks for password even when the server doesn't
See original GitHub issueBug 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
Issue Analytics
- State:
- Created a year ago
- Comments:23 (14 by maintainers)
Top Results From Across the Web
why does ssh keep asking for password? - Apple Developer
I checked system.log, no help. i newly found this - though it doesn't tell me what exactly i can fix. ./install.
Read more >Tunnel active for only a few moments after i switch ... - GitHub
Device : iPhone 11 Pro Max; OS : iOS 14.2 Public Beta; WebSSH free ... from this point RDP app takes the credentials...
Read more >Previous Releases - WebSSH
Added : Ability to manage macros offline (inside connection's settings); Fixed : Web browser login/password can now be used even when no /etc/hosts...
Read more >Why am I still getting a password prompt with ssh with public ...
My ssh client is Ubuntu 64 bit 11.10 desktop and my server is Centos 6.2 64 bit. I have followed the directions. I...
Read more >Best SSH Client Apps for iOS To Manages Remote Servers
At times, the app doesn't even connect to the server and the logs have no clear description of it. webSSH. Read: 5 Best...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s almost done. A beta release will be available tomorrow, July 21.
Thank you a lot for your feedback Brad 👍