-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Description
Feature description
I would like to propose a feature request for Termux related to passwordless SSH authentication based on explicit local user approval.
Tailscale provides a convenient SSH mechanism where authentication is handled via the Tailscale account itself rather than system passwords, PAM, OAuth, or external identity providers. This enables passwordless SSH with clear access control and user-side confirmation.
I propose considering a similar approach for Termux. The idea is that when an incoming SSH connection attempt occurs, Termux could send a local notification to the user. Opening the notification would present a dialog explaining that a remote client is attempting to establish an SSH session, with options to allow or deny the connection. If allowed, the connection would be established without using passwords, keys, or traditional authentication mechanisms, or a one-time session authorization could be issued.
This mechanism would allow SSH usage in a passwordless mode based on physical access to the device and explicit user consent. It could serve as an alternative to passwords and keys, and be useful in scenarios where quick, controlled access is needed without prior SSH key or credential setup.
Additional information
N/A.