onetouch-ssh
onetouch-ssh copied to clipboard
Authy OneTouch for SSH
See: https://github.com/dcu/onetouch-ssh/issues/26
Hi, onetouch-ssh creates /tmp/onetouch.log that is owned by currently running user, making it impossible to run by any other user in the system. Here is proposed patch for this: https://github.com/kolargol/onetouch-ssh/commit/32707a5f3b02101b3c7379843ae034aef191f097...
``` ssh :: Sending approval request to your device... invalid approval request response: User not found.Connection to :: closed. ``` user is in users.list and visible in the auty dashboard...
https://godoc.org/github.com/msteinert/pam#example-package--Authenticate
In case sshd allows both key and key-less access ``onetouch-ssh`` will not be enforced on clients who connect without a key. One potential solution is to use ``ForceCommand`` in ``/etc/ssh/sshd_config``...
We should attempt to add unit and integration tests for this. It would make pushing new releases easier. But, the only problem I can see is building forked sources since...