Skip to content

sftp-handler 0.10 beta (two-factor logins)

Pre-release
Pre-release

Choose a tag to compare

@orgin orgin released this 17 Nov 10:22
· 15 commits to main since this release

This is a beta for testing. The current stable release is 0.9 on OS4Depot; this beta is only published here.

sftp-handler is an AmigaOS 4 filesystem handler: the device SFTP: shows each FTP and SFTP site you have set up as a folder. Sites are added with the prefs program sftphprefs.

New in 0.10 beta: two-factor logins (SFTP)

  • When an SFTP server asks for more than the password during the login, usually a code from an authenticator app ("Verification code:"), a requester shows the server's question. The password is still taken from the site.
  • Logins in two steps work: key file and code, key file and password (OpenSSH AuthenticationMethods).
  • A refused code is asked for again (up to three times) without asking for the password again. Cancel leaves the site offline until DiskChange SFTP:.
  • Every new connection needs a new code, so a connection that needed a code stays open while unused. The new DOSDriver option CODEIDLETIME=seconds closes it after a while instead (default 0: kept open).
  • "Test connection" in sftphprefs asks the same questions.

Codes are never saved. Not supported: hardware security keys used as SSH keys (FIDO, "sk-" keys), and codes for FTP sites.

Install

Download SFTPHandler_beta.lha, unpack it and double-click Install. It can update an installed 0.9, even while SFTP: is mounted. SFTPHandler.guide has the details (see "Two-factor logins").

Requirements: AmigaOS 4.1, filesysbox.library 54.8, clib4.library 2.5 or newer, AmiSSL 5 or newer (for SFTP).

Feedback

Please report problems in the issues: the server type (OpenSSH version, PAM module), what the requester asked, and what happened. Adding DEBUG to the DOSDriver's Startup line writes details to the debug output (DumpDebugBuffer).