Menu

#15 Added support TOTP

Unstable (example)
open
9
2021-07-12
2021-06-09
No

Hello.

This patch will add functionality to support TOTP when connecting to the server via SSH if the server requests the code.

Added two arguments:

   -t TOTP       Provide TOTP as argument
   -T prompt     Which string should sshpass search for to detect a TOTP prompt

Example:

./sshpass -p *** -t *** ssh _host_ w
......
1 Attachments

Discussion

  • Denis Khalturin

    Denis Khalturin - 2021-06-10

    Also added support for the Ansible prompt. The final version of the patch in the attachment:

     

    Last edit: Denis Khalturin 2021-06-10

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.