mirror of
https://github.com/romanz/amodem.git
synced 2026-02-08 18:38:01 +08:00
8547d00b33db2c9fb68d1b903c68e481cf189441
Using Trezor as a hardware SSH agent
Screencast demo usage
Installation
First, make sure that the latest trezorlib Python package
is installed correctly:
$ pip install Cython trezor
Then, install the latest trezor_agent package:
$ pip install trezor_agent
Public key generation
Run:
$ trezor-agent ssh.hostname.com -v > hostname.pub
Append hostname.pub contents to ~/.ssh/authorized_keys
configuration file at ssh.hostname.com, so the remote server
would allow you to login using the corresponding private key signature.
Usage
Run:
$ trezor-agent ssh.hostname.com -v -c
Make sure to confirm SSH signature on the Trezor device when requested.
Languages
Python
99.1%
Shell
0.9%
